lib/packages/parsers.js
function(widget_config, raw_template) {

		var storage_schema = this.getMergedStorageSchema(widget_config),
			tags = Lava.parsers.Common.asBlockType(raw_template, 'tag'),
			i = 0,
			count = tags.length,
			item_schema;

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

			item_schema = storage_schema[tags[i].name];
			if (Lava.schema.DEBUG && !item_schema) Lava.t('parsing storage; no schema for ' + tags[i].name);
			Lava.store(widget_config, 'storage', tags[i].name, this[this._root_handlers[item_schema.type]](item_schema, tags[i]));

		}

	}
function(widget_config, raw_template) {

		var storage_schema = this.getMergedStorageSchema(widget_config),
			tags = Lava.parsers.Common.asBlockType(raw_template, 'tag'),
			i = 0,
			count = tags.length,
			item_schema;

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

			item_schema = storage_schema[tags[i].name];
			if (Lava.schema.DEBUG && !item_schema) Lava.t('parsing storage; no schema for ' + tags[i].name);
			Lava.store(widget_config, 'storage', tags[i].name, this[this._root_handlers[item_schema.type]](item_schema, tags[i]));

		}

	}
function ( widget_config , raw_template ) { var storage_schema = this . getMergedStorageSchema ( widget_config ) , tags = Lava . parsers . Common . asBlockType ( raw_template , 'tag' ) , i = 0 , count = tags . length , item_schema ; for ( ; i < count ; i ++ ) { item_schema = storage_schema [ tags [ i ] . name ] ; if ( Lava . schema . DEBUG && ! item_schema ) Lava . t ( 'parsing storage; no schema for ' + tags [ i ] . name ) ; Lava . store ( widget_config , 'storage' , tags [ i ] . name , this [ this . _root_handlers [ item_schema . type ] ] ( item_schema , tags [ i ] ) ) ; } }
Parse raw tags as widget's storage
@param {_cWidget} widget_config
@param {_tRawTemplate} raw_template
Parse raw tags as widget s storage