jamon.js
function normalize(node, method) {
		if (method === "prepend" || method === "append") {
			node.normalize();
		} else if (node.parentNode) {
			node.parentNode.normalize();
		}
	}
function normalize(node, method) {
		if (method === "prepend" || method === "append") {
			node.normalize();
		} else if (node.parentNode) {
			node.parentNode.normalize();
		}
	}
function normalize ( node , method ) { if ( method === "prepend" || method === "append" ) { node . normalize ( ) ; } else if ( node . parentNode ) { node . parentNode . normalize ( ) ; } }
Normalize text nodes
@private
@param {Node} node
@param {string} method - node method that needs normalization
Normalize text nodes