aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.core.js
diff options
context:
space:
mode:
authorEduardo Lundgren <eduardolundgren@gmail.com>2008-11-10 06:42:23 +0000
committerEduardo Lundgren <eduardolundgren@gmail.com>2008-11-10 06:42:23 +0000
commit3206b611b128075b73e29086586a4ff372817089 (patch)
tree3470854820cafb651189800b4d085cc765df9f18 /ui/ui.core.js
parent2ab2f3c7e10ffd109f8b2409ace6adcbd5cbcb61 (diff)
downloadjquery-ui-3206b611b128075b73e29086586a4ff372817089.tar.gz
jquery-ui-3206b611b128075b73e29086586a4ff372817089.zip
Core: Change comments for the new methods
Diffstat (limited to 'ui/ui.core.js')
-rw-r--r--ui/ui.core.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/ui.core.js b/ui/ui.core.js
index fe0737f92..1059b0ec4 100644
--- a/ui/ui.core.js
+++ b/ui/ui.core.js
@@ -107,17 +107,17 @@ $.ui = {
},
isOverHeight: function(y, bTop, bHeight) {
- //Determines when "y" coordinate intersects with b element height
+ //Determines when y coordinate is over "b" element height
return (y > bTop) && (y < (bTop + bHeight));
},
isOverWidth: function(x, bLeft, bWidth) {
- //Determines when "x" coordinate intersects with b element width
+ //Determines when x coordinate is over "b" element width
return (x > bLeft) && (x < (bLeft + bWidth));
},
isOver: function(y, x, bTop, bLeft, bHeight, bWidth) {
- //Determines when element "a" coordinates intersects with element "b"
+ //Determines when x, y coordinates is over "b" element
return $.ui.isOverHeight(y, bTop, bHeight) && $.ui.isOverWidth(x, bLeft, bWidth);
}
};