lib/packages/core-classes.js
function(result, childConfig, include_name_stack, properties) {

		var constructor = Lava.ClassManager.getConstructor(childConfig['class'], 'Lava.view'),
			view = new constructor(
				childConfig,
				this._widget,
				this._parent_view,
				this, // template
				properties
			);

		view.template_index = result.push(view) - 1;

	}
function(result, childConfig, include_name_stack, properties) {

		var constructor = Lava.ClassManager.getConstructor(childConfig['class'], 'Lava.view'),
			view = new constructor(
				childConfig,
				this._widget,
				this._parent_view,
				this, // template
				properties
			);

		view.template_index = result.push(view) - 1;

	}
function ( result , childConfig , include_name_stack , properties ) { var constructor = Lava . ClassManager . getConstructor ( childConfig [ 'class' ] , 'Lava.view' ) , view = new constructor ( childConfig , this . _widget , this . _parent_view , this , // template properties ) ; view . template_index = result . push ( view ) - 1 ; }
Handler for views. Create a view and push it into result
@param {Array.<_tRenderable>} result
@param {(_cView|_cWidget)} childConfig Config vor the view
@param {Array.<string>} include_name_stack Used to protect from recursive includes
@param {Object} properties Properties for that view
Handler for views . Create a view and push it into result