@@ -199,7 +199,7 @@ $.widget( "ui.droppable", {
199199 inst . accept . call (
200200 inst . element [ 0 ] , ( draggable . currentItem || draggable . element )
201201 ) &&
202- intersect (
202+ $ . ui . intersect (
203203 draggable ,
204204 $ . extend ( inst , { offset : inst . element . offset ( ) } ) ,
205205 inst . options . tolerance , event
@@ -253,7 +253,7 @@ $.widget( "ui.droppable", {
253253 }
254254} ) ;
255255
256- var intersect = $ . ui . intersect = ( function ( ) {
256+ $ . ui . intersect = ( function ( ) {
257257 function isOverAxis ( x , reference , size ) {
258258 return ( x >= reference ) && ( x < ( reference + size ) ) ;
259259 }
@@ -361,7 +361,7 @@ $.ui.ddmanager = {
361361 return ;
362362 }
363363 if ( ! this . options . disabled && this . visible &&
364- intersect ( draggable , this , this . options . tolerance , event ) ) {
364+ $ . ui . intersect ( draggable , this , this . options . tolerance , event ) ) {
365365 dropped = this . _drop . call ( this , event ) || dropped ;
366366 }
367367
@@ -402,7 +402,7 @@ $.ui.ddmanager = {
402402 }
403403
404404 var parentInstance , scope , parent ,
405- intersects = intersect ( draggable , this , this . options . tolerance , event ) ,
405+ intersects = $ . ui . intersect ( draggable , this , this . options . tolerance , event ) ,
406406 c = ! intersects && this . isover ?
407407 "isout" :
408408 ( intersects && ! this . isover ? "isover" : null ) ;
0 commit comments