Commit f5b1a8ea authored by Timmy Willison's avatar Timmy Willison

Fix build for jenkins

parent 217cbb71
...@@ -35,7 +35,7 @@ module.exports = function( grunt ) { ...@@ -35,7 +35,7 @@ module.exports = function( grunt ) {
*/ */
function convert( name, path, contents ) { function convert( name, path, contents ) {
// Convert var modules // Convert var modules
if ( /\/var\//.test( path ) ) { if ( /.\/var\//.test( path ) ) {
contents = contents contents = contents
.replace( /define\([\w\W]*?return/, "var " + (/var\/([\w-]+)/.exec(name)[1]) + " =" ) .replace( /define\([\w\W]*?return/, "var " + (/var\/([\w-]+)/.exec(name)[1]) + " =" )
.replace( rdefineEnd, "" ); .replace( rdefineEnd, "" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment