@@ -38,7 +38,7 @@ module.exports = function( grunt ) {
3838 // Avoid breaking semicolons inserted by r.js
3939 skipSemiColonInsertion : true ,
4040 wrap : {
41- start : wrapper [ 0 ] . replace ( / \/ \* j s h i n t .* \* \/ \n / , "" ) ,
41+ start : wrapper [ 0 ] . replace ( / \/ \* e s l i n t .* \* \/ \n / , "" ) ,
4242 end : globals . replace (
4343 / \/ \* \s * E x c l u d e S t a r t \s * \* \/ [ \w \W ] * ?\/ \* \s * E x c l u d e E n d \s * \* \/ / ig,
4444 ""
@@ -64,7 +64,12 @@ module.exports = function( grunt ) {
6464 // Convert var modules
6565 if ( / .\/ v a r \/ / . test ( path . replace ( process . cwd ( ) , "" ) ) ) {
6666 contents = contents
67- . replace ( / d e f i n e \( [ \w \W ] * ?r e t u r n / , "var " + ( / v a r \/ ( [ \w - ] + ) / . exec ( name ) [ 1 ] ) + " =" )
67+ . replace (
68+ / d e f i n e \( [ \w \W ] * ?r e t u r n / ,
69+ "var " +
70+ ( / v a r \/ ( [ \w - ] + ) / . exec ( name ) [ 1 ] ) +
71+ " ="
72+ )
6873 . replace ( rdefineEnd , "" ) ;
6974
7075 // Sizzle treatment
@@ -130,6 +135,7 @@ module.exports = function( grunt ) {
130135 excluded = [ ] ,
131136 included = [ ] ,
132137 version = grunt . config ( "pkg.version" ) ,
138+
133139 /**
134140 * Recursively calls the excluder to remove on all modules in the list
135141 * @param {Array } list
@@ -167,6 +173,7 @@ module.exports = function( grunt ) {
167173 } ) ;
168174 }
169175 } ,
176+
170177 /**
171178 * Adds the specified module to the excluded or included list, depending on the flag
172179 * @param {String } flag A module path relative to
0 commit comments