git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure that string values are returned from the height/width CSS properties.
[jquery.git]
/
src
/
dimensions.js
diff --git
a/src/dimensions.js
b/src/dimensions.js
index
52fd0f8
..
58c16af
100644
(file)
--- a/
src/dimensions.js
+++ b/
src/dimensions.js
@@
-1,3
+1,5
@@
+(function( jQuery ) {
+
// Create innerHeight, innerWidth, outerHeight and outerWidth methods
jQuery.each([ "Height", "Width" ], function( i, name ) {
@@
-55,3
+57,5
@@
jQuery.each([ "Height", "Width" ], function( i, name ) {
};
});
+
+})( jQuery );