src/Scheduler.js
function (target) {
        if (!target) {
            return
        }
        var id = target.id,
            elementUpdate = this.hashForUpdates[id]
        if (elementUpdate) {
            // Remove from updates list
            if (elementUpdate.priority === 0) {
                this.updates0.splice(this.updates0.indexOf(elementUpdate), 1)
            } else if (elementUpdate.priority < 0) {
                this.updatesNeg.splice(this.updatesNeg.indexOf(elementUpdate), 1)
            } else /* priority > 0 */{
                this.updatesPos.splice(this.updatesPos.indexOf(elementUpdate), 1)
            }
        }
        // Release HashMethodEntry object
        this.hashForUpdates[id] = null
    }
function (target) {
        if (!target) {
            return
        }
        var id = target.id,
            elementUpdate = this.hashForUpdates[id]
        if (elementUpdate) {
            // Remove from updates list
            if (elementUpdate.priority === 0) {
                this.updates0.splice(this.updates0.indexOf(elementUpdate), 1)
            } else if (elementUpdate.priority < 0) {
                this.updatesNeg.splice(this.updatesNeg.indexOf(elementUpdate), 1)
            } else /* priority > 0 */{
                this.updatesPos.splice(this.updatesPos.indexOf(elementUpdate), 1)
            }
        }
        // Release HashMethodEntry object
        this.hashForUpdates[id] = null
    }
function ( target ) { if ( ! target ) { return } var id = target . id , elementUpdate = this . hashForUpdates [ id ] if ( elementUpdate ) { // Remove from updates list if ( elementUpdate . priority === 0 ) { this . updates0 . splice ( this . updates0 . indexOf ( elementUpdate ) , 1 ) } else if ( elementUpdate . priority < 0 ) { this . updatesNeg . splice ( this . updatesNeg . indexOf ( elementUpdate ) , 1 ) } else /* priority > 0 */ { this . updatesPos . splice ( this . updatesPos . indexOf ( elementUpdate ) , 1 ) } } // Release HashMethodEntry object this . hashForUpdates [ id ] = null }
Unschedules the update selector for a given target
Unschedules the update selector for a given target