aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/support.js')
-rw-r--r--src/support.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/support.js b/src/support.js
index 832f192d5..e039a7a4f 100644
--- a/src/support.js
+++ b/src/support.js
@@ -2,10 +2,19 @@ define([
"./core",
"./var/strundefined",
"./var/support",
+ "./core/init", // Needed for hasOwn support test
// This is listed as a dependency for build order, but it's still optional in builds
"./core/ready"
], function( jQuery, strundefined, support ) {
+// Support: IE<9
+// Iteration over object's inherited properties before its own
+var i;
+for ( i in jQuery( support ) ) {
+ break;
+}
+support.ownLast = i !== "0";
+
// Note: most support tests are defined in their respective modules.
jQuery(function() {