src/js/libs/spiritual-gui.js
function(markup, targetdoc) {
		return this.parseToNodes(markup, targetdoc).filter(function(node) {
			return node.nodeType === Node.ELEMENT_NODE;
		});
	}
function(markup, targetdoc) {
		return this.parseToNodes(markup, targetdoc).filter(function(node) {
			return node.nodeType === Node.ELEMENT_NODE;
		});
	}
function ( markup , targetdoc ) { return this . parseToNodes ( markup , targetdoc ) . filter ( function ( node ) { return node . nodeType === Node . ELEMENT_NODE ; } ) ; }
Parse to array of one or more elements.
@param {String} markup
@param @optional {Document} targetdoc
@returns {Array<Element>}
Parse to array of one or more elements .