Commit ca4a0075 authored by Timmy Willison's avatar Timmy Willison

Minor build change: remove trailing tabs

parent 2f985ff8
...@@ -53,11 +53,10 @@ module.exports = function( grunt ) { ...@@ -53,11 +53,10 @@ module.exports = function( grunt ) {
// Ignore jQuery's return statement (the only necessary one) // Ignore jQuery's return statement (the only necessary one)
if ( name !== "jquery" ) { if ( name !== "jquery" ) {
contents = contents contents = contents
.replace( /return\s+[^\}]+(\}\);[^\w\}]*)$/, "$1" ); .replace( /\s*return\s+[^\}]+(\}\);[^\w\}]*)$/, "$1" );
} }
// Remove define wrappers, closure ends, and empty declarations // Remove define wrappers, closure ends, and empty declarations
// Unless it's the proper AMD define
contents = contents contents = contents
.replace( /define\([^{]*?{/, "" ) .replace( /define\([^{]*?{/, "" )
.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