Skip to content

Commit

Permalink
hotfix(windows): Support windows paths for autoRoute
Browse files Browse the repository at this point in the history
  • Loading branch information
pilsy committed Jun 19, 2014
1 parent abfe31e commit ffa7150
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ module.exports = Class.extend(
while( stack.length > 0 && extendingFilePath === false ) {
var file = stack.shift();
if ( !/clever-controller/ig.test( file ) && !/uberclass/ig.test( file ) ) {
if ( /\(([^\[\:]+).*\)/ig.test( file ) ) {
if ( /.*\(([^\)]+)\:.*\:.*\)/ig.test( file ) ) {
extendingFilePath = RegExp.$1;
extendingFileName = path.basename( extendingFilePath );
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "clever-controller",
"description": "Lightning-fast flexible controller prototype",
"version": "1.1.3",
"version": "1.1.4",
"private": false,
"repository": {
"type": "git",
Expand Down

0 comments on commit ffa7150

Please sign in to comment.