mirror of
https://github.com/urbit/shrub.git
synced 2024-12-30 07:35:19 +03:00
21 lines
335 B
Plaintext
21 lines
335 B
Plaintext
|_ s=ship
|
|
++ grad %noun
|
|
++ grow
|
|
|%
|
|
++ noun s
|
|
++ json s+(scot %p s)
|
|
++ mime
|
|
^- ^mime
|
|
[/text/x-ship (as-octt:mimes:html (scow %p s))]
|
|
|
|
--
|
|
++ grab
|
|
|%
|
|
++ noun ship
|
|
++ json (su:dejs:format ;~(pfix sig fed:ag))
|
|
++ mime
|
|
|= [=mite len=@ tex=@]
|
|
(slav %p (snag 0 (to-wain:format tex)))
|
|
--
|
|
--
|