unregister method

dynamic unregister(
  1. dynamic callback
)

Implementation

unregister(callback) {
  if (this.pluginCallbacks.indexOf(callback) != -1) {
    splice(this.pluginCallbacks, this.pluginCallbacks.indexOf(callback), 1);
  }

  return this;
}