public
/
ndcode_site.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Move navigation from _menu.json files in each navigation-parent directory to a naviga...
[ndcode_site.git]
/
_lib
/
get_navigation.jst
1
return async (root, component_names) => {
2
let p = await root.get('navigation')
3
for (let i = 0; i < component_names.length; ++i) {
4
let children = await p.get('children')
5
p = await children.get(component_names[i])
6
}
7
return p
8
}