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

		var id = Firestorm.Element.getProperty(element, 'id'),
			result = null;

		if (id) {

			if (id.indexOf(Lava.ELEMENT_ID_PREFIX) == 0) {

				result = this.getViewByGuid(id.substr(Lava.ELEMENT_ID_PREFIX.length));

			}

		}

		return result;

	}
function(element) {

		var id = Firestorm.Element.getProperty(element, 'id'),
			result = null;

		if (id) {

			if (id.indexOf(Lava.ELEMENT_ID_PREFIX) == 0) {

				result = this.getViewByGuid(id.substr(Lava.ELEMENT_ID_PREFIX.length));

			}

		}

		return result;

	}
function ( element ) { var id = Firestorm . Element . getProperty ( element , 'id' ) , result = null ; if ( id ) { if ( id . indexOf ( Lava . ELEMENT_ID_PREFIX ) == 0 ) { result = this . getViewByGuid ( id . substr ( Lava . ELEMENT_ID_PREFIX . length ) ) ; } } return result ; }
Get the view, the container of which owns the given element
@param {HTMLElement} element
@returns {Lava.view.Abstract}
Get the view the container of which owns the given element