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

		if (include_name_stack.indexOf(child_config.name) != -1) Lava.t("Infinite include recursion");
		var include = Lava.view_manager.getInclude(this._parent_view, child_config);
		if (Lava.schema.DEBUG && include == null) Lava.t("Include not found: " + child_config.name);

		include_name_stack.push(child_config.name);
		this._createChildren(result, include, include_name_stack, properties);
		include_name_stack.pop();

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

		if (include_name_stack.indexOf(child_config.name) != -1) Lava.t("Infinite include recursion");
		var include = Lava.view_manager.getInclude(this._parent_view, child_config);
		if (Lava.schema.DEBUG && include == null) Lava.t("Include not found: " + child_config.name);

		include_name_stack.push(child_config.name);
		this._createChildren(result, include, include_name_stack, properties);
		include_name_stack.pop();

	}
function ( result , child_config , include_name_stack , properties ) { if ( include_name_stack . indexOf ( child_config . name ) != - 1 ) Lava . t ( "Infinite include recursion" ) ; var include = Lava . view_manager . getInclude ( this . _parent_view , child_config ) ; if ( Lava . schema . DEBUG && include == null ) Lava . t ( "Include not found: " + child_config . name ) ; include_name_stack . push ( child_config . name ) ; this . _createChildren ( result , include , include_name_stack , properties ) ; include_name_stack . pop ( ) ; }
Handler for includes. Get include from widget, then create and append all items from include
@param {Array.<_tRenderable>} result
@param {_cInclude} child_config
@param {Array.<string>} include_name_stack
@param {Object} properties
Handler for includes . Get include from widget then create and append all items from include