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

		var view = this;

		while (view && !view.isset(name)) {

			view = view.getParentView();

		}

		return view;

	}
function(name) {

		var view = this;

		while (view && !view.isset(name)) {

			view = view.getParentView();

		}

		return view;

	}
function ( name ) { var view = this ; while ( view && ! view . isset ( name ) ) { view = view . getParentView ( ) ; } return view ; }
Get a parent with property `name` defined
@param {string} name
@returns {Lava.view.Abstract}
Get a parent with property name defined