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

		if (!this._focus_acquired_listener) {
			this._focus_acquired_listener = Lava.app.on('focus_acquired', this._onFocusTargetAcquired, this);
			this._focus_lost_listener = Lava.app.on('focus_lost', this.clearFocusedTarget, this);
			this._focus_listener = Lava.Core.addGlobalHandler('blur', this._onElementBlurred, this);
			this._blur_listener = Lava.Core.addGlobalHandler('focus', this._onElementFocused, this);
		}

	}
function () {

		if (!this._focus_acquired_listener) {
			this._focus_acquired_listener = Lava.app.on('focus_acquired', this._onFocusTargetAcquired, this);
			this._focus_lost_listener = Lava.app.on('focus_lost', this.clearFocusedTarget, this);
			this._focus_listener = Lava.Core.addGlobalHandler('blur', this._onElementBlurred, this);
			this._blur_listener = Lava.Core.addGlobalHandler('focus', this._onElementFocused, this);
		}

	}
function ( ) { if ( ! this . _focus_acquired_listener ) { this . _focus_acquired_listener = Lava . app . on ( 'focus_acquired' , this . _onFocusTargetAcquired , this ) ; this . _focus_lost_listener = Lava . app . on ( 'focus_lost' , this . clearFocusedTarget , this ) ; this . _focus_listener = Lava . Core . addGlobalHandler ( 'blur' , this . _onElementBlurred , this ) ; this . _blur_listener = Lava . Core . addGlobalHandler ( 'focus' , this . _onElementFocused , this ) ; } }
Start listening to global focus-related events
Start listening to global focus - related events