mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Backing out of REV 522 for further testing
This commit is contained in:
parent
0c45d03c70
commit
d6d3316962
2
src/jquery/jquery.js
vendored
2
src/jquery/jquery.js
vendored
@ -31,7 +31,7 @@ window.undefined = window.undefined;
|
||||
var jQuery = function(a,c) {
|
||||
|
||||
// Shortcut for document ready (because $(document).each() is silly)
|
||||
if ( a && typeof a == "function" && jQuery.fn.ready && a.length == undefined ) // Safari reports DOM NodeLists typeof as function
|
||||
if ( a && typeof a == "function" && jQuery.fn.ready )
|
||||
return jQuery(document).ready(a);
|
||||
|
||||
// Make sure that a selection was provided
|
||||
|
Loading…
Reference in New Issue
Block a user