diff options
author | Richard Gibson <richard.gibson@gmail.com> | 2013-01-23 23:25:29 -0500 |
---|---|---|
committer | Richard Gibson <richard.gibson@gmail.com> | 2013-01-27 10:04:09 -0500 |
commit | 64b55f0b7912d96c3bdae8c771b4da99c96954fd (patch) | |
tree | 09ada1566e7122e16438ad82f7807ec1a340a016 /src/core.js | |
parent | 6f7b6915bf457c413476faefb2159df717c2c210 (diff) | |
download | jquery-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.js | 4 |
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, |