diff options
Diffstat (limited to 'src/dimensions.js')
-rw-r--r-- | src/dimensions.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/dimensions.js b/src/dimensions.js index ae59fb05d..7fc766452 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 ) { }; }); }); +}); |