ok.js
function (event/*, args... */) {
		this._events = this._events || {};
		var e = this._events[event];
		if (e) {
			for (var i = 0, l = e.length; i < l; i++){
				e[i][0].apply(e[i][1] || this, slice(arguments, 1));
			}
		}
	}
function (event/*, args... */) {
		this._events = this._events || {};
		var e = this._events[event];
		if (e) {
			for (var i = 0, l = e.length; i < l; i++){
				e[i][0].apply(e[i][1] || this, slice(arguments, 1));
			}
		}
	}
function ( event /*, args... */ ) { this . _events = this . _events || { } ; var e = this . _events [ event ] ; if ( e ) { for ( var i = 0 , l = e . length ; i < l ; i ++ ) { e [ i ] [ 0 ] . apply ( e [ i ] [ 1 ] || this , slice ( arguments , 1 ) ) ; } } }
Trigger an event and execute all callbacks in the event queue
@param {string} event Event name
@param {...*} args Event arguments passed through to all callbacks
Trigger an event and execute all callbacks in the event queue