diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2012-12-10 18:25:23 -0500 |
---|---|---|
committer | Mike Sherov <mike.sherov@gmail.com> | 2012-12-11 13:58:14 -0500 |
commit | a918dc8aacb8461321c332f6f3b5756bdda5e8b2 (patch) | |
tree | 0824e7f8d49426f510a0982954b1d48be6cc5de8 /src/dimensions.js | |
parent | aa0e4aadd56002928d429af771b26114493486ac (diff) | |
download | jquery-a918dc8aacb8461321c332f6f3b5756bdda5e8b2.tar.gz jquery-a918dc8aacb8461321c332f6f3b5756bdda5e8b2.zip |
Pass style declarations around for performance improvements and paving the way for the css array signature
Also, simplify the jQuery.css numeric coercion signature
Diffstat (limited to 'src/dimensions.js')
-rw-r--r-- | src/dimensions.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dimensions.js b/src/dimensions.js index c41cce1b3..9e4d5729d 100644 --- a/src/dimensions.js +++ b/src/dimensions.js @@ -31,7 +31,7 @@ jQuery.each( { Height: "height", Width: "width" }, function( name, type ) { return value === undefined ? // Get width or height on the element, requesting but not forcing parseFloat - jQuery.css( elem, type, value, extra ) : + jQuery.css( elem, type, extra ) : // Set width or height on the element jQuery.style( elem, type, value, extra ); |