mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-16 19:22:22 +03:00
informal manx-json schema
This commit is contained in:
parent
93267f568b
commit
3f83e87c32
@ -24,6 +24,7 @@ $ ->
|
||||
window.tree._basepath + path
|
||||
window.tree.fragpath = (path) -> path.replace window.tree._basepath,""
|
||||
window.tree.reactify = (obj) -> switch
|
||||
# manx: {fork: ["string", {gn:"string" ga:{dict:"string"} c:{list:"manx"}}]}
|
||||
when typeof obj == "string" then obj
|
||||
when obj.gn?
|
||||
React.createElement components[obj.gn] ? obj.gn,
|
||||
|
Loading…
Reference in New Issue
Block a user