lib/packages/parsers.js
function(template) {

		var i = 0,
			count = template.length,
			result = [];

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

			if (typeof(template[i]) == 'string') {

				if (!Lava.EMPTY_REGEX.test(template[i])) Lava.t("Text between tags is not allowed in this context. You may want to use a lava-style comment ({* ... *})");

			} else {

				result.push(template[i]);

			}

		}

		return result;

	}
function(template) {

		var i = 0,
			count = template.length,
			result = [];

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

			if (typeof(template[i]) == 'string') {

				if (!Lava.EMPTY_REGEX.test(template[i])) Lava.t("Text between tags is not allowed in this context. You may want to use a lava-style comment ({* ... *})");

			} else {

				result.push(template[i]);

			}

		}

		return result;

	}
function ( template ) { var i = 0 , count = template . length , result = [ ] ; for ( ; i < count ; i ++ ) { if ( typeof ( template [ i ] ) == 'string' ) { if ( ! Lava . EMPTY_REGEX . test ( template [ i ] ) ) Lava . t ( "Text between tags is not allowed in this context. You may want to use a lava-style comment ({* ... *})" ) ; } else { result . push ( template [ i ] ) ; } } return result ; }
Remove strings from template and assert they are empty
@param {(_tRawTemplate|_tTemplate)} template
@returns {Array}
Remove strings from template and assert they are empty