nl_tokens: / * http : // stackoverflow . com / questions / 7238177 / detect - htmlcollection - nodelist - in - javascript
pl_tokens: function ( nodes ) { var result = Object . prototype . toString . call ( nodes ) ; if ( typeof nodes === 'object' && / ^\[object (HTMLCollection|NodeList|Object)\]$ / . test ( result ) && ( nodes . length == 0 || ( typeof nodes [ 0 ] === "object" && nodes [ 0 ] . nodeType > 0 ) ) ) { return true ; } return <mask> ; }