diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2013-08-15 14:15:49 -0400 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2013-08-15 15:49:49 -0400 |
commit | 217cbb7109b7a5bbacd3170e90607ca5972fc1cd (patch) | |
tree | 4deb7b42f248f7ea73398dc329584899b5573413 /src/support.js | |
parent | 144837afdfab98d6a9f753bc4ccc1feede410101 (diff) | |
download | jquery-217cbb7109b7a5bbacd3170e90607ca5972fc1cd.tar.gz jquery-217cbb7109b7a5bbacd3170e90607ca5972fc1cd.zip |
AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.
Conflicts:
Gruntfile.js
README.md
src/ajax.js
src/ajax/xhr.js
src/attributes.js
src/core.js
src/css.js
src/data.js
src/effects.js
src/event.js
src/manipulation.js
src/offset.js
src/selector-native.js
src/traversing.js
test/unit/core.js
test/unit/data.js
Diffstat (limited to 'src/support.js')
-rw-r--r-- | src/support.js | 9 |
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; })({}); +}); |