js/cloudmine.js
function(event/*, arg1...*/) {
      var events = this._events[event];

      if (events != null) {
        var args = slice(arguments, 1);
        each(events, function(event) {
          event[2].apply(event[1], args);
        });
      }
      return this;
    }
function(event/*, arg1...*/) {
      var events = this._events[event];

      if (events != null) {
        var args = slice(arguments, 1);
        each(events, function(event) {
          event[2].apply(event[1], args);
        });
      }
      return this;
    }
function ( event /*, arg1...*/ ) { var events = this . _events [ event ] ; if ( events != null ) { var args = slice ( arguments , 1 ) ; each ( events , function ( event ) { event [ 2 ] . apply ( event [ 1 ] , args ) ; } ) ; } return this ; }
Trigger an event on this APICall object. This will call all event handlers in order.
All parameters following event will be sent to the event handlers.
@param {string|number} event The event to trigger.
@return {APICall} The current APICall object
Trigger an event on this APICall object . This will call all event handlers in order . All parameters following event will be sent to the event handlers .