@@ -199,7 +199,7 @@ $.widget( "ui.droppable", {
199
199
inst . accept . call (
200
200
inst . element [ 0 ] , ( draggable . currentItem || draggable . element )
201
201
) &&
202
- intersect (
202
+ $ . ui . intersect (
203
203
draggable ,
204
204
$ . extend ( inst , { offset : inst . element . offset ( ) } ) ,
205
205
inst . options . tolerance , event
@@ -253,7 +253,7 @@ $.widget( "ui.droppable", {
253
253
}
254
254
} ) ;
255
255
256
- var intersect = $ . ui . intersect = ( function ( ) {
256
+ $ . ui . intersect = ( function ( ) {
257
257
function isOverAxis ( x , reference , size ) {
258
258
return ( x >= reference ) && ( x < ( reference + size ) ) ;
259
259
}
@@ -361,7 +361,7 @@ $.ui.ddmanager = {
361
361
return ;
362
362
}
363
363
if ( ! this . options . disabled && this . visible &&
364
- intersect ( draggable , this , this . options . tolerance , event ) ) {
364
+ $ . ui . intersect ( draggable , this , this . options . tolerance , event ) ) {
365
365
dropped = this . _drop . call ( this , event ) || dropped ;
366
366
}
367
367
@@ -402,7 +402,7 @@ $.ui.ddmanager = {
402
402
}
403
403
404
404
var parentInstance , scope , parent ,
405
- intersects = intersect ( draggable , this , this . options . tolerance , event ) ,
405
+ intersects = $ . ui . intersect ( draggable , this , this . options . tolerance , event ) ,
406
406
c = ! intersects && this . isover ?
407
407
"isout" :
408
408
( intersects && ! this . isover ? "isover" : null ) ;
0 commit comments