Created
December 20, 2013 20:46
-
-
Save solussd/8061286 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn render-page [renderer [_ path] transmitter] | |
(let [parent (render/get-parent-id renderer path) | |
id (render/new-id! renderer path) | |
html (templates/add-template renderer path (:pedestal-sandbox-page templates))] | |
(dom/append! (dom/by-id parent) (html {:id id :message "" :blah "val"})))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div template="hello" field="id:id,ohno:blah"> | |
<div field="content:message,name:blah" class="message">A Message</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment