mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-13 20:04:35 +03:00
a5d661f2d1
Switch a bunch of .hoon files in /mar from using the old `{}` syntax for specifying argument types, to the newer `[argname=argtype]` syntax.
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
|
|
--
|