diff options
author | Eduardo Lundgren <eduardolundgren@gmail.com> | 2008-11-10 16:41:54 +0000 |
---|---|---|
committer | Eduardo Lundgren <eduardolundgren@gmail.com> | 2008-11-10 16:41:54 +0000 |
commit | e39dd9595efe537a12bd5d8ea3e0cefa1911f980 (patch) | |
tree | 9aaf91e464aae640cb333417055804143d29cc1b /ui/ui.core.js | |
parent | ffa5f16169f62deaa984fecb2c52f3e9528b95cf (diff) | |
download | jquery-ui-e39dd9595efe537a12bd5d8ea3e0cefa1911f980.tar.gz jquery-ui-e39dd9595efe537a12bd5d8ea3e0cefa1911f980.zip |
Core: Change arguments name for isOver* methods.
Diffstat (limited to 'ui/ui.core.js')
-rw-r--r-- | ui/ui.core.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ui/ui.core.js b/ui/ui.core.js index ad12ef48b..1507fda0f 100644 --- a/ui/ui.core.js +++ b/ui/ui.core.js @@ -106,19 +106,19 @@ $.ui = { return has; }, - isOverHeight: function(y, bTop, bHeight) { + isOverHeight: function(y, top, height) { //Determines when y coordinate is over "b" element height - return (y > bTop) && (y < (bTop + bHeight)); + return (y > top) && (y < (top + height)); }, - isOverWidth: function(x, bLeft, bWidth) { + isOverWidth: function(x, left, width) { //Determines when x coordinate is over "b" element width - return (x > bLeft) && (x < (bLeft + bWidth)); + return (x > left) && (x < (left + width)); }, - isOver: function(y, x, bTop, bLeft, bHeight, bWidth) { + isOver: function(y, x, top, left, height, width) { //Determines when x, y coordinates is over "b" element - return $.ui.isOverHeight(y, bTop, bHeight) && $.ui.isOverWidth(x, bLeft, bWidth); + return $.ui.isOverHeight(y, top, height) && $.ui.isOverWidth(x, left, width); } }; |