diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2013-08-16 14:33:28 -0400 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2013-08-16 14:41:13 -0400 |
commit | 32e803c5bc821a34d6d225659f7a4b4a24053e07 (patch) | |
tree | 18629c07cfcadd0591b3d8c2791ba48d4312ccb1 /build/tasks | |
parent | ef694f6cc77674fc119b8bfa32c74aa456b84eb6 (diff) | |
download | jquery-32e803c5bc821a34d6d225659f7a4b4a24053e07.tar.gz jquery-32e803c5bc821a34d6d225659f7a4b4a24053e07.zip |
Minor build change: remove trailing tabs
Diffstat (limited to 'build/tasks')
-rw-r--r-- | build/tasks/build.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/build/tasks/build.js b/build/tasks/build.js index 8256603a3..ffc1243ba 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -53,11 +53,10 @@ module.exports = function( grunt ) { // Ignore jQuery's return statement (the only necessary one) if ( name !== "jquery" ) { contents = contents - .replace( /return\s+[^\}]+(\}\);[^\w\}]*)$/, "$1" ); + .replace( /\s*return\s+[^\}]+(\}\);[^\w\}]*)$/, "$1" ); } // Remove define wrappers, closure ends, and empty declarations - // Unless it's the proper AMD define contents = contents .replace( /define\([^{]*?{/, "" ) .replace( rdefineEnd, "" ); |