shrub/mar/js.hoon

21 lines
453 B
Plaintext
Raw Normal View History

2014-10-08 23:06:40 +04:00
::
:::: /hoon/core/js/mar
::
2015-02-27 09:35:41 +03:00
!:
|_ mud=@
2014-08-11 11:47:46 +04:00
++ grow
2015-02-27 09:35:41 +03:00
|%
++ mime [/application/javascript (taco (,@t mud))]
2015-06-06 01:20:26 +03:00
++ elem ;script
2015-02-27 09:35:41 +03:00
;- (trip (,@t mud))
==
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))
++ noun cord :: clam from %noun
--
2015-07-08 01:22:32 +03:00
++ grad %mime
2015-02-27 09:35:41 +03:00
--