examples/template_stealjs/steal/steal.js
function(event, listener){
			if(!events[event]){
				events[event] = [] 
			}
			var special = steal.events[event]
			if(special && special.add){
				listener = special.add(listener);
			}
			listener && events[event].push(listener);
			return steal;
		}
function(event, listener){
			if(!events[event]){
				events[event] = [] 
			}
			var special = steal.events[event]
			if(special && special.add){
				listener = special.add(listener);
			}
			listener && events[event].push(listener);
			return steal;
		}
function ( event , listener ) { if ( ! events [ event ] ) { events [ event ] = [ ] } var special = steal . events [ event ] if ( special && special . add ) { listener = special . add ( listener ) ; } listener && events [ event ] . push ( listener ) ; return steal ; }
Listens to events on Steal
@param {String} event
@param {Function} listener
Listens to events on Steal