Skip to content

Commit

Permalink
fixing up whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Ziep committed Jun 27, 2013
1 parent 501cb7d commit a9cfe6c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tasks/lib/file-graph.js
Expand Up @@ -143,7 +143,7 @@ exports.init = function( grunt ) {
} }


if ( fileList ) { if ( fileList ) {
var files = _.words( split[1], ',' ).map( trimElems ).map(normalizePath); var files = _.words( split[1], ',' ).map( trimElems ).map( normalizePath );
push.apply( fileList, files ); push.apply( fileList, files );
} }
} }
Expand All @@ -164,7 +164,7 @@ exports.init = function( grunt ) {
}; };


var normalizePath = function( p ) { var normalizePath = function( p ) {
return p.replace(/[\/\\]+/g, path.sep); return p.replace( /[\/\\]+/g, path.sep );
}; };


return exports; return exports;
Expand Down
2 changes: 1 addition & 1 deletion test/dep-concat_test.js
Expand Up @@ -56,7 +56,7 @@ exports['dep-concat'] = {
basePath: 'test/fixtures/' basePath: 'test/fixtures/'
}, function( orderedFiles ) { }, function( orderedFiles ) {
var indices = {}; var indices = {};
_.each([ 'main', 2, 5, 7, 8, 9, 10, 11, 'somedir/12'], function( file ) { _.each([ 'main', 2, 5, 7, 8, 9, 10, 11, 'somedir/12' ], function( file ) {
indices[ file ] = orderedFiles.indexOf( 'test/fixtures/' + file + '.js' ); indices[ file ] = orderedFiles.indexOf( 'test/fixtures/' + file + '.js' );
}); });


Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/9.js
@@ -1,2 +1,2 @@
// file path windows style // file path windows style
//load: somedir\\12.js //load: somedir\12.js

0 comments on commit a9cfe6c

Please sign in to comment.