urbit/mar/urb.hoon

32 lines
1.0 KiB
Plaintext
Raw Normal View History

2015-02-14 06:43:17 +03:00
::
2015-06-05 03:27:01 +03:00
:::: /hoon/urb/mar
2015-02-14 06:43:17 +03:00
::
/? 314
:: /= dep /$ |=([^ but=path] `@uvH`?>(?=([%dep @ ~] but) (slav %uv i.t.but)))
2015-02-14 06:43:17 +03:00
!:
|_ own=manx
::
++ grow :: convert to
|%
++ html (crip (poxo own)) :: convert to %html
++ mime [/text/html (taco html)] :: convert to %mime
--
++ grab
|% :: convert from
++ noun manx :: clam from %noun
++ hymn :: inject into %hymn
|= old=manx old :: moved to %eyre
:: ~| hymn//mal-formed
:: :: ~| old
:: ?> ?=([[%html ~] [[%head ~] *] [[%body ~] ^] ~] old) :: XX static
:: :: =+ bek=(sa (turn (turn dep) |=(a=beam (tope a(s ~)))))
:: %_ old
:: c.i.c
:: :- ;meta(charset "utf-8", urb_injected "");
:: ?~ dep c.i.c.old
:: :- ;script@"/~/on/{<dep>}.js";
:: c.i.c.old
:: ==
2015-02-14 06:43:17 +03:00
--
--