Core: Avoid conflict with droppable $.ui.instersect method. Core changed name to $.ui.intersects.

This commit is contained in:
Eduardo Lundgren 2008-11-10 05:55:04 +00:00
parent 836e71f880
commit f00347a83a

View File

@ -116,7 +116,7 @@ $.ui = {
return (aLeft > bLeft) && (aLeft < (bLeft + bWidth)); return (aLeft > bLeft) && (aLeft < (bLeft + bWidth));
}, },
intersect: function(aTop, aLeft, bTop, bLeft, bHeight, bWidth) { intersects: function(aTop, aLeft, bTop, bLeft, bHeight, bWidth) {
//Determines when element "a" coordinates intersects with element "b" //Determines when element "a" coordinates intersects with element "b"
return $.ui.intersectHeight(aTop, bTop, bHeight) && $.ui.intersectWidth(aLeft, bLeft, bWidth); return $.ui.intersectHeight(aTop, bTop, bHeight) && $.ui.intersectWidth(aLeft, bLeft, bWidth);
} }