src/core.js
function(params) {
        if (process.env.NODE_ENV !== 'production') {
            if (this._disposed) {
                log('error', [
                    'Update on disposed baron instance detected.',
                    'You should clear your stored baron value for this instance:',
                    this
                ].join(' '), params)
            }
        }

        fire.call(this, 'upd', params) // Update all plugins' params

        this.resize(1)
        this.updatePositions(1)

        return this
    }
function(params) {
        if (process.env.NODE_ENV !== 'production') {
            if (this._disposed) {
                log('error', [
                    'Update on disposed baron instance detected.',
                    'You should clear your stored baron value for this instance:',
                    this
                ].join(' '), params)
            }
        }

        fire.call(this, 'upd', params) // Update all plugins' params

        this.resize(1)
        this.updatePositions(1)

        return this
    }
function ( params ) { if ( process . env . NODE_ENV !== 'production' ) { if ( this . _disposed ) { log ( 'error' , [ 'Update on disposed baron instance detected.' , 'You should clear your stored baron value for this instance:' , this ] . join ( ' ' ) , params ) } } fire . call ( this , 'upd' , params ) // Update all plugins' params this . resize ( 1 ) this . updatePositions ( 1 ) return this }
fires on any update and on init
fires on any update and on init