lib/packages/core-classes.js
function(event_name) {

		if (event_name == 'mouse_events') {

			this._events_listeners['mouseover'] =
				Lava.Core.addGlobalHandler('mouseover', this.handleMouseMovement, this);
			this._events_listeners['mouseout'] =
				Lava.Core.addGlobalHandler('mouseout', this.handleMouseMovement, this);

		} else {

			this._events_listeners[event_name] =
				Lava.Core.addGlobalHandler(event_name, this.onDOMEvent, this);

		}

	}
function(event_name) {

		if (event_name == 'mouse_events') {

			this._events_listeners['mouseover'] =
				Lava.Core.addGlobalHandler('mouseover', this.handleMouseMovement, this);
			this._events_listeners['mouseout'] =
				Lava.Core.addGlobalHandler('mouseout', this.handleMouseMovement, this);

		} else {

			this._events_listeners[event_name] =
				Lava.Core.addGlobalHandler(event_name, this.onDOMEvent, this);

		}

	}
function ( event_name ) { if ( event_name == 'mouse_events' ) { this . _events_listeners [ 'mouseover' ] = Lava . Core . addGlobalHandler ( 'mouseover' , this . handleMouseMovement , this ) ; this . _events_listeners [ 'mouseout' ] = Lava . Core . addGlobalHandler ( 'mouseout' , this . handleMouseMovement , this ) ; } else { this . _events_listeners [ event_name ] = Lava . Core . addGlobalHandler ( event_name , this . onDOMEvent , this ) ; } }
Start listening to an event
@param {string} event_name
Start listening to an event