]> source.dussan.org Git - jquery-ui.git/commitdiff
Droppable: Re-expose `$.ui.intersect()`
authorScott González <scott.gonzalez@gmail.com>
Wed, 4 May 2016 22:48:41 +0000 (18:48 -0400)
committerScott González <scott.gonzalez@gmail.com>
Wed, 4 May 2016 22:48:41 +0000 (18:48 -0400)
Fixes #14963
Ref #10534

ui/widgets/droppable.js

index f683c78934dd5ef44c8c91526308094e8abbee68..67bcb693d25f748e3d78a693727d34bdc6342fbf 100644 (file)
@@ -253,7 +253,7 @@ $.widget( "ui.droppable", {
        }
 } );
 
-var intersect = ( function() {
+var intersect = $.ui.intersect = ( function() {
        function isOverAxis( x, reference, size ) {
                return ( x >= reference ) && ( x < ( reference + size ) );
        }