lib/packages/core-classes.js
function(content_schema, raw_tag, widget_config) {

		var tags = Lava.parsers.Common.asBlocks(raw_tag.content),
			i = 0,
			count,
			tag_roles_map = content_schema.tag_roles,
			tag_schema,
			storage_tags = [];

		tags = this._applyTopDirectives(tags, widget_config);
		count = tags.length;

		for (; i < count; i++) {

			if (tags[i].name in tag_roles_map) {

				tag_schema = tag_roles_map[tags[i].name];
				this[this._union_handlers[tag_schema.type]](tag_schema, tags[i], widget_config, tag_schema.name || tags[i].name);

			} else {

				storage_tags.push(tags[i]);

			}

		}

		if (storage_tags.length) {

			Lava.parsers.Storage.parse(widget_config, storage_tags);

		}

	}
function(content_schema, raw_tag, widget_config) {

		var tags = Lava.parsers.Common.asBlocks(raw_tag.content),
			i = 0,
			count,
			tag_roles_map = content_schema.tag_roles,
			tag_schema,
			storage_tags = [];

		tags = this._applyTopDirectives(tags, widget_config);
		count = tags.length;

		for (; i < count; i++) {

			if (tags[i].name in tag_roles_map) {

				tag_schema = tag_roles_map[tags[i].name];
				this[this._union_handlers[tag_schema.type]](tag_schema, tags[i], widget_config, tag_schema.name || tags[i].name);

			} else {

				storage_tags.push(tags[i]);

			}

		}

		if (storage_tags.length) {

			Lava.parsers.Storage.parse(widget_config, storage_tags);

		}

	}
function ( content_schema , raw_tag , widget_config ) { var tags = Lava . parsers . Common . asBlocks ( raw_tag . content ) , i = 0 , count , tag_roles_map = content_schema . tag_roles , tag_schema , storage_tags = [ ] ; tags = this . _applyTopDirectives ( tags , widget_config ) ; count = tags . length ; for ( ; i < count ; i ++ ) { if ( tags [ i ] . name in tag_roles_map ) { tag_schema = tag_roles_map [ tags [ i ] . name ] ; this [ this . _union_handlers [ tag_schema . type ] ] ( tag_schema , tags [ i ] , widget_config , tag_schema . name || tags [ i ] . name ) ; } else { storage_tags . push ( tags [ i ] ) ; } } if ( storage_tags . length ) { Lava . parsers . Storage . parse ( widget_config , storage_tags ) ; } }
The content of `raw_tag` is storage tags, mixed with includes
@param {_cSugarContent} content_schema
@param {_cRawTag} raw_tag
@param {_cWidget} widget_config
The content of raw_tag is storage tags mixed with includes