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

		var widget = starting_view.getWidget(),
			template_arguments = ('arguments' in config) ? this._evalTargetArguments(starting_view, config) : null;

		if ('locator_type' in config) {

			widget = this['_locateWidgetBy' + config.locator_type](widget, config.locator);

			if (!widget || !widget.isWidget) Lava.t();

		}

		return widget.getInclude(config.name, template_arguments);

	}
function(starting_view, config) {

		var widget = starting_view.getWidget(),
			template_arguments = ('arguments' in config) ? this._evalTargetArguments(starting_view, config) : null;

		if ('locator_type' in config) {

			widget = this['_locateWidgetBy' + config.locator_type](widget, config.locator);

			if (!widget || !widget.isWidget) Lava.t();

		}

		return widget.getInclude(config.name, template_arguments);

	}
function ( starting_view , config ) { var widget = starting_view . getWidget ( ) , template_arguments = ( 'arguments' in config ) ? this . _evalTargetArguments ( starting_view , config ) : null ; if ( 'locator_type' in config ) { widget = this [ '_locateWidgetBy' + config . locator_type ] ( widget , config . locator ) ; if ( ! widget || ! widget . isWidget ) Lava . t ( ) ; } return widget . getInclude ( config . name , template_arguments ) ; }
Get include from widget
@param {Lava.view.Abstract} starting_view
@param {_cInclude} config
@returns {_tTemplate}
Get include from widget