nl_tokens: Returns the node or a parent of the node that has the passed className . Doing this directly is about 40% faster .
pl_tokens: function getParent ( node , className ) { while ( node && node . parentNode ) { if ( node . className && ( ' ' + node . className + ' ' ) . indexOf ( ' ' + className + ' ' ) !== - 1 ) { return node ; } <mask> = node . parentNode ; } return false ; }