code: function empty(node) {
  		while (node && node.hasChildNodes()) {
  			var child = node.firstChild;
  			node.removeChild(child);
  		}
  	}
docs: Removes all children of the given node.
  @name orion.webui.littlelib.empty
  @function
  @static
  @param {Node} node