urbit/pkg/arvo/mar/js.hoon
ronreg-ribdev a5d661f2d1 mar: use new-style gate argument syntax in /mar
Switch a bunch of .hoon files in /mar from using
the old `{}` syntax for specifying argument types, to the
newer `[argname=argtype]` syntax.
2020-11-24 14:16:20 -08:00

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
--