diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2013-08-15 15:56:47 -0400 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2013-08-15 15:56:47 -0400 |
commit | b7b50a7d5f3aef469dfdbde56b30d1349b97436b (patch) | |
tree | a390fe99242f22d877cee90ff201bab5dcf7a0a3 /build | |
parent | 6318ae6ab90d4b450dfadf32ab95fe52ed6331cb (diff) | |
download | jquery-b7b50a7d5f3aef469dfdbde56b30d1349b97436b.tar.gz jquery-b7b50a7d5f3aef469dfdbde56b30d1349b97436b.zip |
Fix build for jenkins
Diffstat (limited to 'build')
-rw-r--r-- | build/build.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build/build.js b/build/build.js index 249b27924..e4717d606 100644 --- a/build/build.js +++ b/build/build.js @@ -34,8 +34,9 @@ module.exports = function( grunt ) { * @param {String} contents The contents to be written (including their AMD wrappers) */ function convert( name, path, contents ) { + console.log( path ); // Convert var modules - if ( /\/var\//.test( path ) ) { + if ( /.\/var\//.test( path ) ) { contents = contents .replace( /define\([\w\W]*?return/, "var " + (/var\/([\w-]+)/.exec(name)[1]) + " =" ) .replace( rdefineEnd, "" ); |