aboutsummaryrefslogtreecommitdiffstats
path: root/src/intro.js
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2010-09-22 08:08:45 -0400
committerjeresig <jeresig@gmail.com>2010-09-22 08:08:45 -0400
commit19b5d9e874bbd97d03d9e0561a70711e2bf91fcb (patch)
tree917da345b77a48b0ba2b95a183474397527fdba1 /src/intro.js
parent9ad7c21e701f827e108de038ff704f1e9b7022da (diff)
downloadjquery-19b5d9e874bbd97d03d9e0561a70711e2bf91fcb.tar.gz
jquery-19b5d9e874bbd97d03d9e0561a70711e2bf91fcb.zip
Re-work the document scoping.
Diffstat (limited to 'src/intro.js')
-rw-r--r--src/intro.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intro.js b/src/intro.js
index 433f8bc8b..cb15705a6 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;