src/Scheduler.js
function (target) {
        if (!target) {
            return
        }
        // Custom selector
        var element = this.hashForMethods[target.id]
        if (element) {
            element.paused = true
            element.timers = []; // Clear all timers
        }
        // Release HashMethodEntry object
        this.hashForMethods[target.id] = null

        // Update selector
        this.unscheduleUpdateForTarget(target)
    }
function (target) {
        if (!target) {
            return
        }
        // Custom selector
        var element = this.hashForMethods[target.id]
        if (element) {
            element.paused = true
            element.timers = []; // Clear all timers
        }
        // Release HashMethodEntry object
        this.hashForMethods[target.id] = null

        // Update selector
        this.unscheduleUpdateForTarget(target)
    }
function ( target ) { if ( ! target ) { return } // Custom selector var element = this . hashForMethods [ target . id ] if ( element ) { element . paused = true element . timers = [ ] ; // Clear all timers } // Release HashMethodEntry object this . hashForMethods [ target . id ] = null // Update selector this . unscheduleUpdateForTarget ( target ) }
Unschedules all selectors for a given target.
This also includes the "update" selector.
Unschedules all selectors for a given target . This also includes the update selector .