git ssb

0+

wanderer🌟 / js-dfinity-radix-tree



Commit 3228beb1ebc4a9921b555fd514ede84f91ce5bf9

return node instead of just root

Signed-off-by: wanderer <mjbecze@gmail.com>
wanderer committed on 3/2/2018, 11:30:28 PM
Parent: a3aed82a78f2d18269efbd86f8784e8989e5d4da

Files changed

index.jschanged
index.jsView
@@ -73,10 +73,11 @@
7373 index++
7474 }
7575
7676 const value = treeNode.getValue(root)
77 + const node = root['/']
7778
78- return {value, root, parent, index}
79 + return {value, root, node, parent, index}
7980 }
8081
8182 /**
8283 * stores a value at a given key

Built with git-ssb-web