<core-header-panel flex><core-toolbar layout><div class="tk-lust-script header-logo">fubar</div><div class="tk-open-sans header-text">fubar</div><span flex> </span><div class="tk-open-sans header-text" id="signout">logout</div></core-toolbar>...</core-header-panel>
(defn view [][:core-header-panel flex[:core-toolbar layout[:div { :class "tk-lust-script header-logo" } "fubar"][:div { :class "tk-open-sans header-text" } "fubar"][:span flex " "][:div { :class "tk-open-sans header-text" :id "signout" } "logout"]]...])(defonceroot(dom/append-child! (.-body js/document)[:div#app]))(dom/mount! root (view))
A) [:core-header-panel {:flex 1} ....]B) <core-header-panel flex="1">...</core-header-panel>
(defn view [][:core-header-panel { :flex true } ... )(dom/mount! (.-body js/document) (view))
[:script {:src "bower_components/webcomponentsjs/webcomponents.js"}]
(for [s ["core-elements" "paper-elements" "fontawesome-iconset-svg"]]
[:link {:rel "import" :href (str "bower_components/" s "/" s ".html")}])
--
Note that posts from new members are moderated - please be patient with your first post.
---
You received this message because you are subscribed to a topic in the Google Groups "ClojureScript" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clojurescript/aBF1U8hQkpQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clojurescrip...@googlegroups.com.
To post to this group, send email to clojur...@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.

(dom/mount!(.-body js/document)(view))
(dom/mount!(.querySelector js/document "body")(view))

(function() {Polymer('core-toolbar', { ... } ) } ) // calling the Polymer function is what throws the error.
(defn view [][:core-header-panel { :flex true } ... ])
You received this message because you are subscribed to the Google Groups "ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojurescrip...@googlegroups.com.
document.createElement("div")<div></div>document.createElement("fubar")<fubar></fubar>document.createElement("my-custom-component")<my-custom-component></my-custom-component>document.createElement("core-header-panel")<core-header-panel></core-header-panel>
<link rel="import" href="bower_components/polymer/polymer.html">
(function() {Polymer('core-toolbar', { ... } ) } ) // calling the Polymer function is what throws the error.