mirror of
https://github.com/jquery/jquery.git
synced 2026-02-03 13:54:57 -05:00
Switched jQuery() to represent jQuery([]) instead of jQuery(document).
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
// Define a local copy of jQuery
|
||||
var jQuery = function( selector, context ) {
|
||||
// The jQuery object is actually just the init constructor 'enhanced'
|
||||
return arguments.length === 0 ?
|
||||
rootjQuery :
|
||||
new jQuery.fn.init( selector, context );
|
||||
return new jQuery.fn.init( selector, context );
|
||||
},
|
||||
|
||||
// Map over jQuery in case of overwrite
|
||||
|
||||
Reference in New Issue
Block a user