Moved some display stuff to engine. Not certain this was the right decision,

but it may be wanted for MicroWorld projects which are not simply the
education-oriented rule engine.
This commit is contained in:
simon 2014-08-10 18:37:54 +01:00
parent 7dbaebb6aa
commit 2d2b3b4f0d

View file

@ -60,6 +60,7 @@
(str "Generation " generation)]]))
(defn render-inspector
"Render in Hiccup format the HTML content of an inspector on this cell."
[cell table]
[:table {:class "music-ruled"}
[:tr
@ -71,4 +72,3 @@
(map #(vector :tr (vector :th %)(vector :td (cell %))) (keys cell))])