Skip to content
Permalink
Browse files

Minor build change: remove trailing tabs

  • Loading branch information...
timmywil committed Aug 16, 2013
1 parent ef694f6 commit 32e803c5bc821a34d6d225659f7a4b4a24053e07
Showing with 1 addition and 2 deletions.
  1. +1 −2 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, "" );

0 comments on commit 32e803c

Please sign in to comment.
You can’t perform that action at this time.