aboutsummaryrefslogtreecommitdiffstats
path: root/src/dimensions.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/dimensions.js')
-rw-r--r--src/dimensions.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/dimensions.js b/src/dimensions.js
index 6f1bf7d2f..42e445362 100644
--- a/src/dimensions.js
+++ b/src/dimensions.js
@@ -6,8 +6,11 @@ import "./css.js";
// 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 ) {
+ jQuery.each( {
+ padding: "inner" + name,
+ content: type,
+ "": "outer" + name
+ }, function( defaultExtra, funcName ) {
// Margin is only for outerHeight, outerWidth
jQuery.fn[ funcName ] = function( margin, value ) {