aboutsummaryrefslogtreecommitdiffstats
path: root/src/core.js
diff options
context:
space:
mode:
authorRichard Gibson <richard.gibson@gmail.com>2013-01-23 23:25:29 -0500
committerRichard Gibson <richard.gibson@gmail.com>2013-01-27 10:04:09 -0500
commit64b55f0b7912d96c3bdae8c771b4da99c96954fd (patch)
tree09ada1566e7122e16438ad82f7807ec1a340a016 /src/core.js
parent6f7b6915bf457c413476faefb2159df717c2c210 (diff)
downloadjquery-64b55f0b7912d96c3bdae8c771b4da99c96954fd.tar.gz
jquery-64b55f0b7912d96c3bdae8c771b4da99c96954fd.zip
Fix #13315 for IE9: compare typeof xmlNode.method to var instead of literal "undefined" for safer uglification
(cherry picked from commit ec9b38a34fb9bd81d1903cf12b69466f699abca5)
Diffstat (limited to 'src/core.js')
-rw-r--r--src/core.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core.js b/src/core.js
index 9efdc229e..c2dc4bc9b 100644
--- a/src/core.js
+++ b/src/core.js
@@ -5,6 +5,10 @@ var
// The deferred used on DOM ready
readyList,
+ // Support: IE9
+ // For `typeof xmlNode.method` instead of `xmlNode.method !== undefined`
+ core_strundefined = typeof undefined,
+
// Use the correct document accordingly with window argument (sandbox)
document = window.document,
location = window.location,