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
|
|
|
::
|
2016-02-18 02:00:12 +03:00
|
|
|
/? 310
|
2016-02-10 06:25:32 +03:00
|
|
|
/= urb-wasp-data-js /: /%/wasp-data /js/
|
2016-12-03 02:47:16 +03:00
|
|
|
=, format
|
2016-12-03 03:56:54 +03:00
|
|
|
=, mimes:html
|
2016-12-03 02:09:58 +03:00
|
|
|
=, html
|
2016-11-17 04:42:58 +03:00
|
|
|
::
|
2016-02-11 06:00:04 +03:00
|
|
|
|_ {{dep/@uvH hed/marl} {dep-bod/@uvH bod/marl}}
|
2015-02-14 06:43:17 +03:00
|
|
|
++ grow :: convert to
|
|
|
|
|%
|
2016-12-03 03:56:54 +03:00
|
|
|
++ mime [/text/html (as-octs html)] :: convert to %mime
|
|
|
|
++ html (crip (en-xml hymn)) :: convert to %html
|
2016-02-10 03:14:40 +03:00
|
|
|
++ hymn :: inject dependencies
|
|
|
|
^- manx
|
2016-02-10 06:25:32 +03:00
|
|
|
;html
|
|
|
|
;head
|
|
|
|
;meta(charset "utf-8", urb_injected "");
|
2016-05-03 23:52:44 +03:00
|
|
|
;* hed
|
|
|
|
==
|
|
|
|
;body
|
|
|
|
;* bod
|
2016-02-10 06:25:32 +03:00
|
|
|
;* ?~ dep ~
|
2016-05-03 23:52:44 +03:00
|
|
|
:~ ;script@"/~/on/{<dep>}.js"(urb_injected "", async "", onload "setTimeout(urb.onDep,2000)");
|
2016-02-10 06:25:32 +03:00
|
|
|
;script(urb_injected "")
|
|
|
|
;- (trip urb-wasp-data-js)
|
2016-05-13 02:41:46 +03:00
|
|
|
; urb.waspWait = []
|
|
|
|
; urb.wasp = urb.wasp || [].push.bind(urb.waspWait)
|
2016-05-03 23:52:44 +03:00
|
|
|
; urb.onDep = function()\{
|
2016-05-13 02:41:46 +03:00
|
|
|
; urb.waspWait.map(urb.wasp)
|
|
|
|
; urb.onLoadUrbJS()
|
2016-12-03 02:09:58 +03:00
|
|
|
; urb.waspData({(en-json %s (scot %uv dep-bod))})
|
2016-05-03 23:52:44 +03:00
|
|
|
; }
|
2016-02-10 06:25:32 +03:00
|
|
|
==
|
|
|
|
==
|
2016-02-10 03:14:40 +03:00
|
|
|
==
|
2016-02-10 06:25:32 +03:00
|
|
|
==
|
2015-02-14 06:43:17 +03:00
|
|
|
--
|
|
|
|
++ grab
|
|
|
|
|% :: convert from
|
2016-02-12 01:35:58 +03:00
|
|
|
++ noun {@uvH manx} :: clam from %noun
|
2015-02-14 06:43:17 +03:00
|
|
|
--
|
|
|
|
--
|