dist/monitor-all.js
function(name, callback, context) {
      if (!(eventsApi(this, 'on', name, [callback, context]) && callback)) return this;
      this._events || (this._events = {});
      var list = this._events[name] || (this._events[name] = []);
      list.push({callback: callback, context: context, ctx: context || this});
      return this;
    }
function(name, callback, context) {
      if (!(eventsApi(this, 'on', name, [callback, context]) && callback)) return this;
      this._events || (this._events = {});
      var list = this._events[name] || (this._events[name] = []);
      list.push({callback: callback, context: context, ctx: context || this});
      return this;
    }
function ( name , callback , context ) { if ( ! ( eventsApi ( this , 'on' , name , [ callback , context ] ) && callback ) ) return this ; this . _events || ( this . _events = { } ) ; var list = this . _events [ name ] || ( this . _events [ name ] = [ ] ) ; list . push ( { callback : callback , context : context , ctx : context || this } ) ; return this ; }
Bind one or more space separated events, or an events map, to a `callback` function. Passing `"all"` will bind the callback to all events fired.
Bind one or more space separated events or an events map to a callback function . Passing all will bind the callback to all events fired .