register method
Implementation
register(Function callback) {
if (this.pluginCallbacks.indexOf(callback) == -1) {
this.pluginCallbacks.add(callback);
}
return this;
}
register(Function callback) {
if (this.pluginCallbacks.indexOf(callback) == -1) {
this.pluginCallbacks.add(callback);
}
return this;
}