]> source.dussan.org Git - jquery.git/commitdiff
Fix build for jenkins
authorTimmy Willison <timmywillisn@gmail.com>
Thu, 15 Aug 2013 19:58:44 +0000 (15:58 -0400)
committerTimmy Willison <timmywillisn@gmail.com>
Thu, 15 Aug 2013 19:58:44 +0000 (15:58 -0400)
build/build.js

index 2bd6daf8b3fe2ac46603f1d74b17d139cd8cd34d..eb68f685c4039a469e8eefda3e3abbb93451f66c 100644 (file)
@@ -35,7 +35,7 @@ module.exports = function( grunt ) {
         */
        function convert( name, path, contents ) {
                // 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, "" );