urbit/main/tree/hymn.hook
Philip C Monk dd0716eb72 Merge branch 'master' into typedclay
Conflicts:
	n/t.c
	urb/urbit.pill
	urb/zod/main/app/reload/core.hook
	urb/zod/main/app/shell/core.hook
	urb/zod/main/app/solid/core.hook
	urb/zod/main/arvo/dill.hoon
	urb/zod/main/arvo/eyre.hoon
	urb/zod/main/arvo/ford.hoon
	urb/zod/main/arvo/gall.hoon
	urb/zod/main/arvo/hoon.hoon
	urb/zod/main/mar/json/door.hook
	urb/zod/main/mar/md/door.hook
	urb/zod/main/mar/txt/door.hook
	v/raft.c
	v/unix.c
2015-04-22 20:18:19 -04:00

42 lines
1.4 KiB
Plaintext

::
/? 314
/= gas /$ fuel
/= ral /: /=docs=/pub /% /react-js/
::
::::
::
// /%%/util
::
[util=. +>]
::
!:
::::
::
=+ ~(. util gas)
;html
;head
;title: urbit Tree
;meta(name "viewport", content "width=device-width, initial-scale=1");
;link(type "text/css", rel "stylesheet", href "/docs/pub/tree/src/css/main.css");
;script(type "text/javascript", src "//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js");
;script(type "text/javascript", src "//cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.min.js");
;script(type "text/javascript", src "//cdnjs.cloudflare.com/ajax/libs/react/0.12.2/react.js");
;script(type "text/javascript", src "/docs/pub/tree/src/js/main.js");
==
;body
;script(type "text/javascript"):"""
window.tree = \{}
window.tree.init = function(components) \{
window.tree.up = {(pojo (parent-json get-parent))}
window.tree.kids = {(pojo (kids-json get-kids))}
window.tree.bred = {(pojo (bread-json get-bread))}
with(components) \{
window.tree.body = {(trip ral)}
}
}
"""
;div#nav;
;div#cont;
==
==