nl_tokens: Recursively delete a tree item and all its children
pl_tokens: function ( updatedTreeItem , partialTree ) { if ( partialTree === void 0 ) { partialTree = tree ; } var found = false ; partialTree . some ( function ( treeItem , i ) { if ( treeItem [ <mask> ] === updatedTreeItem [ id ] ) { partialTree [ i ] = updatedTreeItem ; found = true ; return true ; } found = treeItem [ children ] ? updateTreeItem ( updatedTreeItem , treeItem [ children ] ) : false ; return found ; } ) ; return found ; }