Implement node._.get
This commit is contained in:
parent
958c25cfba
commit
40af396a6e
1 changed files with 4 additions and 1 deletions
|
|
@ -216,7 +216,10 @@ function createReplica(path, afterMap = false) {
|
||||||
|
|
||||||
return {
|
return {
|
||||||
_: {
|
_: {
|
||||||
get: '',
|
get get() {
|
||||||
|
const keys = path.split('>')
|
||||||
|
return keys[keys.length - 1]
|
||||||
|
},
|
||||||
opt: {
|
opt: {
|
||||||
// TODO
|
// TODO
|
||||||
peers: {}
|
peers: {}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue