mirror of
https://github.com/urbit/shrub.git
synced 2024-12-14 11:08:45 +03:00
26 lines
514 B
Plaintext
26 lines
514 B
Plaintext
::
|
|
:::: /hoon/body/tree/ren
|
|
::
|
|
/? 310
|
|
/= dat /% /tree-json/ :: default include
|
|
/= dat-sen /| /: /%%/ /% /tree-json/ :: default include
|
|
/~ ~
|
|
==
|
|
=, format
|
|
=, html
|
|
::
|
|
|%
|
|
++ script-safe
|
|
!.
|
|
|= a/tape ^- tape
|
|
?~ a a
|
|
?. ?=({$'<' $'/' *} a) [i.a $(a t.a)]
|
|
['<' '\\' '/' $(a t.t.a)]
|
|
--
|
|
::
|
|
^- marl
|
|
=/ tree (script-safe (en-json (pairs:enjs data+dat sein+dat-sen ~)))
|
|
;= ;script(type "text/javascript"): window.tree = {tree}
|
|
;div#tree;
|
|
==
|