aboutsummaryrefslogtreecommitdiffstats
path: root/src/intro.js
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2011-04-16 14:18:56 -0700
committerJohn Resig <jeresig@gmail.com>2011-04-16 14:18:56 -0700
commit94ee3e9743c2cab24084ae24e02871f6df4aef13 (patch)
tree8d6c4562d657e56d8a72f88f96f8c928da212079 /src/intro.js
parent5b197b6c5f429fefec20252945503f3ef3bc4748 (diff)
downloadjquery-94ee3e9743c2cab24084ae24e02871f6df4aef13.tar.gz
jquery-94ee3e9743c2cab24084ae24e02871f6df4aef13.zip
Cache references to navigator and location. Fixes #6690.
Diffstat (limited to 'src/intro.js')
-rw-r--r--src/intro.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/intro.js b/src/intro.js
index c0a5643ff..a81c86f92 100644
--- a/src/intro.js
+++ b/src/intro.js
@@ -16,4 +16,6 @@
(function( window, undefined ) {
// Use the correct document accordingly with window argument (sandbox)
-var document = window.document;
+var document = window.document,
+ navigator = window.navigator,
+ location = window.location;