Re-work the document scoping.

This commit is contained in:
jeresig 2010-09-22 08:08:45 -04:00
parent 9ad7c21e70
commit 19b5d9e874
2 changed files with 2 additions and 3 deletions

View file

@ -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,

View file

@ -15,3 +15,5 @@
*/
(function( window, undefined ) {
// Use the correct document accordingly with window argument (sandbox)
var document = window.document;