mirror of
https://github.com/jquery/jquery.git
synced 2026-02-06 07:45:01 -05:00
Re-work the document scoping.
This commit is contained in:
@@ -12,9 +12,6 @@ var jQuery = function( selector, context ) {
|
||||
// Map over the $ in case of overwrite
|
||||
_$ = window.$,
|
||||
|
||||
// Use the correct document accordingly with window argument (sandbox)
|
||||
//document = window.document,
|
||||
|
||||
// A central reference to the root jQuery(document)
|
||||
rootjQuery,
|
||||
|
||||
|
||||
@@ -15,3 +15,5 @@
|
||||
*/
|
||||
(function( window, undefined ) {
|
||||
|
||||
// Use the correct document accordingly with window argument (sandbox)
|
||||
var document = window.document;
|
||||
|
||||
Reference in New Issue
Block a user