Skip to content
Permalink
Browse files

jquery core: Closes #3666. Removed old code.

  • Loading branch information
flesler committed Dec 25, 2008
1 parent 53e9fb9 commit 5459180728260b09a5d1d8b8ea17201dda131d47
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core.js
@@ -81,7 +81,7 @@ jQuery.fn = jQuery.prototype = {
// HANDLE: $(function)
// Shortcut for document ready
} 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));
},

0 comments on commit 5459180

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