// TODO: find ways for automated testing
// http://www.browserscope.org/user/tests/howto

		/***
		El.bindings.with = function(node, data, scope) {
			render.call(node, scope, true)
		}
		"if": function(node, data, fn) {
			var childs = getChilds(node)
			node.empty().append( fn.fn("_")(data) && childs )
		},
		//*/

// document.querySelectorAll polyfill
	// NOTE: fast selectors for IE
	// http://ajaxian.com/archives/creating-a-queryselector-for-ie-that-runs-at-native-speed
	// TODO: Extend El api
	// add El.siblings( [selector ] )
	// add El.children( [selector ] )
	// add El.invoke
	// https://github.com/WebReflection/dom4#dom4

	//
	// How elements.js extends the DOM
	// -------------------------------
	// http://perfectionkills.com/whats-wrong-with-extending-the-dom/
	//
	// All DOM extensions on the element are available by default.
	//
	// In browsers that does not support adding methods to prototype of native objects
	// such as HTMLElement or Element, document.createElement will be overrided
	// to extend created elements. El.get() and element.find will extend
	// returned elements.

	// ### element.append( content, [ before ] ) -> element
	//
	// - **content** `element || Array || String || Number`
	// - **before** `optional`
	//     - true - Insert content to the beginning of element
	//     - element - Insert content before specified element
	//     - Number - Insert content before nth child


// https://gist.github.com/connrs/2724353
		/*
		 * - Declaration
		 * mixin list
		 *
		 * mixin link(href, name)
		 *   a(class!=attributes.class, href=href)= name
		 *
		 * +link('/foo', 'foo')(class="btn")
		 *
		 * :include
		 * :doctype
		 */

/*
 * new DOMParser().parseFromString("<html></html>", "application/xml")
 * - http://stackoverflow.com/questions/8227612/how-to-create-document-objects-with-javascript

document.getElementsByClass = function(needle) {
	var result = document.evaluate(
		"//*[@class='" + needle + "']", document, null,
		XPathResult.ANY_TYPE, null);

	var resultArray = []
	var element = "";
	while (element = result.iterateNext())
		resultArray.push(element);
	return resultArray;
}
*/


