mirror of
https://github.com/urbit/shrub.git
synced 2024-12-29 23:23:52 +03:00
a539d986a7
In favor of [type] syntax. Turns a bunch of ++ into +$ along the way.
23 lines
478 B
Plaintext
23 lines
478 B
Plaintext
::
|
|
:::: /hoon/js/mar
|
|
::
|
|
/? 310
|
|
::
|
|
=, eyre
|
|
|_ mud=@
|
|
++ grow
|
|
|%
|
|
++ mime [/application/javascript (as-octs:mimes:html (@t mud))]
|
|
++ elem ;script
|
|
;- (trip (@t mud))
|
|
==
|
|
++ hymn ;html:(head:"+{elem}" body)
|
|
--
|
|
++ grab
|
|
|% :: convert from
|
|
++ mime |=([p=mite q=octs] (@t q.q))
|
|
++ noun cord :: clam from %noun
|
|
--
|
|
++ grad %mime
|
|
--
|