B2G/gecko/content/test/unit/test_range.js
/**
 * Determine if the data node has only ignorable white-space.
 *
 * @return nsIDOMNodeFilter.FILTER_SKIP if it does.
 * @return nsIDOMNodeFilter.FILTER_ACCEPT otherwise.
 */
Determine if the data node has only ignorable white-space.
Determine if the data node has only ignorable white - space .
function isWhitespace(aNode) {
  return ((/\S/).test(aNode.nodeValue)) ?
         C_i.nsIDOMNodeFilter.FILTER_SKIP :
         C_i.nsIDOMNodeFilter.FILTER_ACCEPT;
}
function isWhitespace ( aNode ) { return ( ( / \S / ) . test ( aNode . nodeValue ) ) ? C_i . nsIDOMNodeFilter . FILTER_SKIP : C_i . nsIDOMNodeFilter . FILTER_ACCEPT ; }
Determine if the data node has only ignorable white-space.
Determine if the data node has only ignorable white - space .