code: function(node, pattern) {
  		if (!!node && (node.nodeType === 3) && pattern.exec(node.nodeValue)) {
  			node.nodeValue = node.nodeValue.replace(pattern, '');
  		}
  	}
docs: Trims whitespace pattern from the text node
  
  @private
  @param {Node} node The node