lib/packages/parsers.js
function(config, name, raw_tag) {

		if (Lava.schema.DEBUG && (name in config)) Lava.t("Object already exists: " + name + ". Ensure, that x:options and x:properties directives appear before x:option and x:property.");
		if (Lava.schema.DEBUG && (!raw_tag.content || raw_tag.content.length != 1)) Lava.t("Malformed directive or tag for config property: " + name);
		config[name] = Lava.parseOptions(raw_tag.content[0]);

	}
function(config, name, raw_tag) {

		if (Lava.schema.DEBUG && (name in config)) Lava.t("Object already exists: " + name + ". Ensure, that x:options and x:properties directives appear before x:option and x:property.");
		if (Lava.schema.DEBUG && (!raw_tag.content || raw_tag.content.length != 1)) Lava.t("Malformed directive or tag for config property: " + name);
		config[name] = Lava.parseOptions(raw_tag.content[0]);

	}
function ( config , name , raw_tag ) { if ( Lava . schema . DEBUG && ( name in config ) ) Lava . t ( "Object already exists: " + name + ". Ensure, that x:options and x:properties directives appear before x:option and x:property." ) ; if ( Lava . schema . DEBUG && ( ! raw_tag . content || raw_tag . content . length != 1 ) ) Lava . t ( "Malformed directive or tag for config property: " + name ) ; config [ name ] = Lava . parseOptions ( raw_tag . content [ 0 ] ) ; }
Parse a tag with JavaScript object inside
@param {(_cView|_cWidget)} config
@param {string} name
@param {(_cRawDirective|_cRawTag)} raw_tag
Parse a tag with JavaScript object inside