wrong on jquery
Gvozd opened this issue · 0 comments
Gvozd commented
babel --plugins closure-elimination ./jquery.part.js --source-type script
(function() {
var self = {
add: function() {
(function add( args ) {//!!!function renamed to _add
jQuery.each( args, function( _, arg ) {
var type = jQuery.type( arg );
if ( type === "function" ) {
if ( !options.unique || !self.has( arg ) ) {
list.push( arg );
}
} else if ( arg && arg.length && type !== "string" ) {
// Inspect recursively
add( arg );//!!!usage not renamed to _add
}
});
})( arguments );
}
};
})()