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, 8 insertions, 1 deletions
diff --git a/src/support.js b/src/support.js
index 4457cd708..147cb4ddf 100644
--- a/src/support.js
+++ b/src/support.js
@@ -1,3 +1,9 @@
+define([
+ "./core",
+ "./var/strundefined",
+ "./core/swap"
+], function( jQuery, strundefined ) {
+
jQuery.support = (function( support ) {
var all, a, input, select, fragment, opt, eventName, isSupported, i,
@@ -208,7 +214,7 @@ jQuery.support = (function( support ) {
!parseFloat( ( window.getComputedStyle( marginDiv, null ) || {} ).marginRight );
}
- if ( typeof div.style.zoom !== core_strundefined ) {
+ if ( typeof div.style.zoom !== strundefined ) {
// Support: IE<8
// Check if natively block-level elements act like inline-block
// elements when setting their display to 'inline' and giving
@@ -244,3 +250,4 @@ jQuery.support = (function( support ) {
return support;
})({});
+});