diff --git a/src/core.js b/src/core.js index 53d69ca8..7bc0fb90 100644 --- a/src/core.js +++ b/src/core.js @@ -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, diff --git a/src/intro.js b/src/intro.js index 433f8bc8..cb15705a 100644 --- a/src/intro.js +++ b/src/intro.js @@ -15,3 +15,5 @@ */ (function( window, undefined ) { +// Use the correct document accordingly with window argument (sandbox) +var document = window.document;