nl_tokens: Recursively find a tree item
pl_tokens: function ( tId , partialTree ) { if ( tId === void 0 ) { tId = '' ; } if ( partialTree === void 0 ) { partialTree = <mask> ; } if ( ! tId ) { return undefined ; } var found ; partialTree . some ( function ( treeItem ) { if ( treeItem [ id ] === tId ) { found = treeItem ; return true ; } found = treeItem [ children ] ? find ( tId , treeItem [ children ] ) : undefined ; return found ? true : false ; } ) ; return found ; }