src/entry.js
/**
     * update checks time and runs the callback
     * @param {number} elapsed
     * @return {boolean} whether entry is complete and may be removed from list
     */
update checks time and runs the callback
@param {number} elapsed
@return {boolean} whether entry is complete and may be removed from list
update checks time and runs the callback @param { number } elapsed @return { boolean } whether entry is complete and may be removed from list
update(elapsed)
    {
        if (!this._pause)
        {
            if (this.time)
            {
                this.current += elapsed
                if (this.current >= this.time)
                {
                    this.current -= this.time
                    return this._update(elapsed)
                }
            }
            else
            {
                return this._update(elapsed)
            }
        }
    }
update ( elapsed ) { if ( ! this . _pause ) { if ( this . time ) { this . current += elapsed if ( this . current >= this . time ) { this . current -= this . time return this . _update ( elapsed ) } } else { return this . _update ( elapsed ) } } }
update checks time and runs the callback
 @param {number} elapsed
 @return {boolean} whether entry is complete and may be removed from list
update checks time and runs the callback @param { number } elapsed @return { boolean } whether entry is complete and may be removed from list