ReferenceError: ShadowDOMPolyfill is not defined
radix opened this issue · comments
When I run my lucuma-using app in node-webkit, and use the :style feature of a web component, I get an error:
ReferenceError: ShadowDOMPolyfill is not defined
this points at lucuma.cljs line 22, where (when js/ShadowDOMPolyfill ...) is used. I guess just accessing it this way isn't a good way to check for it.
I notice that my installed version of Chrome doesn't have this error, because it does actually have the ShadowDOMPolyfill object.
Good catch! It's now fixed in master.
If you don't mind I would suggest you try to play with 0.2.0-SNAPSHOT
(I will try to push something to clojars later today).
I'm interested in your opinion on some changes I made recently, especially as there are some around attributes.
I noticed that you were doing some changes when I reloaded the documentation today and couldn't find references to :content :-) I'll check out the 0.2.0 snapshot.
Ah right content
changed to document
in 0.2.0
.
I try not to change the documentation before doing the release but examples are pulled from github.
0.2.0-SNAPSHOT
is now available in clojars
. I also updated the documentation but be aware it does not reflect all the new features yet.