mirror of
https://github.com/urbit/shrub.git
synced 2024-12-20 01:01:37 +03:00
26 lines
590 B
Plaintext
26 lines
590 B
Plaintext
::
|
|
:::: /hoon/js/mar
|
|
::
|
|
/? 310
|
|
::
|
|
=, eyre
|
|
|_ mud=@
|
|
++ grow
|
|
|%
|
|
++ mime [/application/javascript (as-octs:mimes:html (@t mud))]
|
|
++ hymn :: convert to %hymn
|
|
|^ html
|
|
++ script ;script
|
|
;- (trip (@t mud))
|
|
==
|
|
++ html ;html:(head:"{script}" body)
|
|
--
|
|
--
|
|
++ grab
|
|
|% :: convert from
|
|
++ mime |=([p=mite q=octs] (@t q.q))
|
|
++ noun cord :: clam from %noun
|
|
--
|
|
++ grad %mime
|
|
--
|