ker/mod/interact.js
function (dragElement) {
            // get dropzones and their elements that could receive the draggable
            var possibleDrops = this.collectDrops(dragElement, true);

            this.activeDrops.dropzones = possibleDrops.dropzones;
            this.activeDrops.elements  = possibleDrops.elements;
            this.activeDrops.rects     = [];

            for (var i = 0; i < this.activeDrops.dropzones.length; i++) {
                this.activeDrops.rects[i] = this.activeDrops.dropzones[i].getRect(this.activeDrops.elements[i]);
            }
        }
function (dragElement) {
            // get dropzones and their elements that could receive the draggable
            var possibleDrops = this.collectDrops(dragElement, true);

            this.activeDrops.dropzones = possibleDrops.dropzones;
            this.activeDrops.elements  = possibleDrops.elements;
            this.activeDrops.rects     = [];

            for (var i = 0; i < this.activeDrops.dropzones.length; i++) {
                this.activeDrops.rects[i] = this.activeDrops.dropzones[i].getRect(this.activeDrops.elements[i]);
            }
        }
function ( dragElement ) { // get dropzones and their elements that could receive the draggable var possibleDrops = this . collectDrops ( dragElement , true ) ; this . activeDrops . dropzones = possibleDrops . dropzones ; this . activeDrops . elements = possibleDrops . elements ; this . activeDrops . rects = [ ] ; for ( var i = 0 ; i < this . activeDrops . dropzones . length ; i ++ ) { this . activeDrops . rects [ i ] = this . activeDrops . dropzones [ i ] . getRect ( this . activeDrops . elements [ i ] ) ; } }
Collect a new set of possible drops and save them in activeDrops. setActiveDrops should always be called when a drag has just started or a drag event happens while dynamicDrop is true
Collect a new set of possible drops and save them in activeDrops . setActiveDrops should always be called when a drag has just started or a drag event happens while dynamicDrop is true