jquery core: Closes #3666. Removed old code.
This commit is contained in:
parent
53e9fb9496
commit
5459180728
|
@ -81,7 +81,7 @@ jQuery.fn = jQuery.prototype = {
|
||||||
// HANDLE: $(function)
|
// HANDLE: $(function)
|
||||||
// Shortcut for document ready
|
// Shortcut for document ready
|
||||||
} else if ( jQuery.isFunction( selector ) )
|
} else if ( jQuery.isFunction( selector ) )
|
||||||
return jQuery( document )[ jQuery.fn.ready ? "ready" : "load" ]( selector );
|
return jQuery( document ).ready( selector );
|
||||||
|
|
||||||
return this.setArray(jQuery.makeArray(selector));
|
return this.setArray(jQuery.makeArray(selector));
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue