in themes/kube/static/js/kube.js [48:71]
callback: function(type)
{
var args = [].slice.call(arguments).splice(1);
// on element callback
if (this.$element)
{
args = this._fireCallback($._data(this.$element[0], 'events'), type, this.namespace, args);
}
// on target callback
if (this.$target)
{
args = this._fireCallback($._data(this.$target[0], 'events'), type, this.namespace, args);
}
// opts callback
if (this.opts && this.opts.callbacks && $.isFunction(this.opts.callbacks[type]))
{
return this.opts.callbacks[type].apply(this, args);
}
return args;
},