diff options
Diffstat (limited to 'src/index.cljs.hl')
-rw-r--r-- | src/index.cljs.hl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/index.cljs.hl b/src/index.cljs.hl index 4b8aa72..70fe417 100644 --- a/src/index.cljs.hl +++ b/src/index.cljs.hl @@ -1,8 +1,13 @@ (page "index.html" (:require [app.rpc :as rpc] + [cljs.pprint :refer [pprint]] [cljsjs.semantic-ui :as ui] [Blockly])) +(rpc/init) +(defc= state rpc/state) +(defc= error rpc/error) + (def toolbox "<xml> <block type=\"controls_if\"></block> @@ -32,7 +37,6 @@ (title "Tankputer")) (body (h1 "Tankputer") - (blockly-workspace :css {:height "480px" :width "600px"} - :options {:media "media/" :toolbox toolbox}))) + (textarea :text (cell= (with-out-str (pprint state)))))) ;; vim: set expandtab ts=2 sw=2 filetype=clojure : |