shrub/base/mar/react-snip.hoon
2015-06-04 15:16:48 -07:00

28 lines
788 B
Plaintext

::
:::: /hoon/core/react-snip/mar
::
/? 314
/+ react
!:
::::
::
|_ own=manx
::
++ grow :: convert to
|%
++ tape (react-to-tape own)
++ react-snip-js (crip tape)
++ react-snip-json
::?> ?=([[%div ~] [[%h1 ~] *] [[%div ~] *] ~]] own) :: xx mystery fish-loop
%^ jobe
head/(jape tape(own &2.own))
body/(jape tape(own &3.own))
~
:: ++ js react-snip-js :: convert to %js
++ mime [/text/javascript (taco react-snip-js)] :: convert to %mime
--
++ grab |% :: convert from
++ noun manx :: clam from %noun
++ snip |= a=manx a
-- --