js/cloudmine.js
function(eventType, callback, context) {
      if (eventType == null && callback == null && context == null) {
        this._events = {};
      } else if (eventType == null) {
        each(this._events, function(value, key, collection) {
          collection._events[key] = removeCallbacks(value, callback, context);
        });
      } else {
        this._events[eventType] = removeCallbacks(this._events[eventType], callback, context);
      }
      return this;
    }
function(eventType, callback, context) {
      if (eventType == null && callback == null && context == null) {
        this._events = {};
      } else if (eventType == null) {
        each(this._events, function(value, key, collection) {
          collection._events[key] = removeCallbacks(value, callback, context);
        });
      } else {
        this._events[eventType] = removeCallbacks(this._events[eventType], callback, context);
      }
      return this;
    }
function ( eventType , callback , context ) { if ( eventType == null && callback == null && context == null ) { this . _events = { } ; } else if ( eventType == null ) { each ( this . _events , function ( value , key , collection ) { collection . _events [ key ] = removeCallbacks ( value , callback , context ) ; } ) ; } else { this . _events [ eventType ] = removeCallbacks ( this . _events [ eventType ] , callback , context ) ; } return this ; }
Remove event handlers.
Event handlers will be removed based on the parameters given. If no parameters are given, all
event handlers will be removed.
@param {string|number} eventType The event type which can be an http code as number or string,
or can be success, error, meta, result, abort.
@param {function} callback The function that was used to create the callback.
@param {object} context The context to call the callback in.
@return {APICall} The current APICall object
Remove event handlers . Event handlers will be removed based on the parameters given . If no parameters are given all event handlers will be removed .