Re-work the document scoping.
This commit is contained in:
parent
9ad7c21e70
commit
19b5d9e874
|
@ -12,9 +12,6 @@ var jQuery = function( selector, context ) {
|
||||||
// Map over the $ in case of overwrite
|
// Map over the $ in case of overwrite
|
||||||
_$ = window.$,
|
_$ = window.$,
|
||||||
|
|
||||||
// Use the correct document accordingly with window argument (sandbox)
|
|
||||||
//document = window.document,
|
|
||||||
|
|
||||||
// A central reference to the root jQuery(document)
|
// A central reference to the root jQuery(document)
|
||||||
rootjQuery,
|
rootjQuery,
|
||||||
|
|
||||||
|
|
|
@ -15,3 +15,5 @@
|
||||||
*/
|
*/
|
||||||
(function( window, undefined ) {
|
(function( window, undefined ) {
|
||||||
|
|
||||||
|
// Use the correct document accordingly with window argument (sandbox)
|
||||||
|
var document = window.document;
|
||||||
|
|
Loading…
Reference in a new issue