context:         this.isOverTarget = function(pt, oTarget, intersect) {            // use cache if available            var loc = this.locationCache[oTarget.id];            if (!loc || !this.useCache) {                this.logger.log("cache not populated");                loc = this.getLocation(oTarget);                this.locationCache[oTarget.id] = loc;                this.logger.log("cache: " + loc);            }            if (!loc) {                return false;            }            oTarget.cursorIsOver = loc.contains( pt );            // DragDrop is using this as a sanity check for the initial mousedown            // in this case we are done.  In POINT mode, if the drag obj has no            // contraints, we are also done. Otherwise we need to evaluate the            // location of the target as related to the actual location of the            // dragged element.            var dc = this.dragCurrent;            if (!dc || !dc.getTargetCoord ||                    (!intersect && !dc.constrainX && !dc.constrainY)) {                return oTarget.cursorIsOver;            }            oTarget.overlap = null;            // Get the current location of the drag element, this is the            // location of the mouse event less the delta that represents            // where the original mousedown happened on the element.  We            // need to consider constraints and ticks as well.            var pos = dc.getTargetCoord(pt.x, pt.y);            var el = dc.getDragEl();            var curRegion = new YAHOO.util.Region( pos.y,                                                   pos.x + el.offsetWidth,                                                   pos.y + el.offsetHeight,                                                   pos.x );            var overlap = curRegion.intersect(loc);            if (overlap) {                oTarget.overlap = overlap;                return (intersect) ? true : oTarget.cursorIsOver;            } else {                return false;            }        };
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/dragdrop-debug.js/buggy/www/resources/yui/dragdrop/dragdrop-debug.js