mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Minor build change: remove trailing tabs
This commit is contained in:
parent
ef694f6cc7
commit
32e803c5bc
@ -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, "" );
|
||||
|
Loading…
Reference in New Issue
Block a user