urbit/pkg/arvo/mar/js.hoon

23 lines
478 B
Plaintext
Raw Normal View History

2014-10-08 23:06:40 +04:00
::
2016-02-05 06:05:37 +03:00
:::: /hoon/js/mar
2014-10-08 23:06:40 +04:00
::
2016-02-18 02:00:12 +03:00
/? 310
2016-11-17 04:42:58 +03:00
::
=, eyre
|_ mud=@
2014-08-11 11:47:46 +04:00
++ grow
2015-02-27 09:35:41 +03:00
|%
2016-12-03 03:56:54 +03:00
++ mime [/application/javascript (as-octs:mimes:html (@t mud))]
2015-06-06 01:20:26 +03:00
++ elem ;script
;- (trip (@t mud))
2015-02-27 09:35:41 +03:00
==
2015-06-06 01:20:26 +03:00
++ hymn ;html:(head:"+{elem}" body)
2014-08-11 11:47:46 +04:00
--
2015-02-27 09:35:41 +03:00
++ grab
|% :: convert from
++ mime |=([p=mite q=octs] (@t q.q))
2015-02-27 09:35:41 +03:00
++ noun cord :: clam from %noun
--
2015-07-08 01:22:32 +03:00
++ grad %mime
2015-02-27 09:35:41 +03:00
--