mirror of
https://github.com/jquery/jquery.git
synced 2026-01-24 21:48:00 -05:00
Fix build for jenkins
This commit is contained in:
@@ -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, "" );
|
||||
|
||||
Reference in New Issue
Block a user