-
 ###
 Template
 ###

		while child
			next = child.nextSibling
			if child.nodeType is 3	# TEXT
				if $.trim(child.nodeValue) == ""
					dom.removeChild(child)
			child = next
		return


	trimTemplate: (template) ->
		if template.nodeType
			if template.nodeName is "TEMPLATE"
				if not template.firstChild
					html = template.innerHTML
					if html
