git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
jquery ajax: Closes #2567, additional setting for $.ajax called 'dataFilter'. It...
[jquery.git]
/
src
/
dimensions.js
diff --git
a/src/dimensions.js
b/src/dimensions.js
index
44ba357
..
bcef47f
100644
(file)
--- a/
src/dimensions.js
+++ b/
src/dimensions.js
@@
-20,8
+20,4
@@
jQuery.each([ "Height", "Width" ], function(i, name){
num(this, "margin" + tl) + num(this, "margin" + br) : 0);
};
-});
-
-function num(elem, prop) {
- return elem[0] && parseInt( jQuery.curCSS(elem[0], prop, true), 10 ) || 0;
-}
+});
\ No newline at end of file