urbit/pkg/arvo/mar/js.hoon

23 lines
478 B
Plaintext
Raw Normal View History

2019-07-17 01:59:39 +03:00
::
:::: /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
--