inst.accept.call(
inst.element[ 0 ], ( draggable.currentItem || draggable.element )
) &&
- intersect(
+ $.ui.intersect(
draggable,
$.extend( inst, { offset: inst.element.offset() } ),
inst.options.tolerance, event
}
} );
-var intersect = $.ui.intersect = ( function() {
+$.ui.intersect = ( function() {
function isOverAxis( x, reference, size ) {
return ( x >= reference ) && ( x < ( reference + size ) );
}
return;
}
if ( !this.options.disabled && this.visible &&
- intersect( draggable, this, this.options.tolerance, event ) ) {
+ $.ui.intersect( draggable, this, this.options.tolerance, event ) ) {
dropped = this._drop.call( this, event ) || dropped;
}
}
var parentInstance, scope, parent,
- intersects = intersect( draggable, this, this.options.tolerance, event ),
+ intersects = $.ui.intersect( draggable, this, this.options.tolerance, event ),
c = !intersects && this.isover ?
"isout" :
( intersects && !this.isover ? "isover" : null );