Commit 19b5d9e8 authored by jeresig's avatar jeresig

Re-work the document scoping.

parent 9ad7c21e
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment