nl_tokens: Finds the closest parent that matches a selector .
pl_tokens: function closest ( element , selector ) { while ( element && element . nodeType !== DOCUMENT_NODE_TYPE ) { if ( typeof <mask> . matches === 'function' && element . matches ( selector ) ) { return element ; } element = element . parentNode ; } }