aboutsummaryrefslogtreecommitdiffstats
path: root/src/dimensions.js
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2013-08-15 14:15:49 -0400
committerTimmy Willison <timmywillisn@gmail.com>2013-08-15 15:49:49 -0400
commit217cbb7109b7a5bbacd3170e90607ca5972fc1cd (patch)
tree4deb7b42f248f7ea73398dc329584899b5573413 /src/dimensions.js
parent144837afdfab98d6a9f753bc4ccc1feede410101 (diff)
downloadjquery-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/dimensions.js')
-rw-r--r--src/dimensions.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dimensions.js b/src/dimensions.js
index 9e4d5729d..abedfe97e 100644
--- a/src/dimensions.js
+++ b/src/dimensions.js
@@ -1,3 +1,7 @@
+define([
+ "./core",
+ "./css"
+], function( jQuery ) {
// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods
jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {
jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name }, function( defaultExtra, funcName ) {
@@ -39,3 +43,4 @@ jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {
};
});
});
+});