These are chat archives for skatejs/skatejs

5th
Dec 2016
Dogeek
@regou
Dec 05 2016 08:58
Hi, I'm trying to styling a element in shadow dom from outside, I tried ::shadow presto class, but not work.
blob
blob
Dogeek
@regou
Dec 05 2016 09:04
I tried a vanilla webcomponent example from html5 rocks that works well, any tip?
Qiu-Kejian
@Qiu-Kejian
Dec 05 2016 09:11
blob
Uncaught TypeError: Failed to construct 'HTMLElement': Please use the 'new' operator, this DOM object constructor cannot be called as a function.
Hello. does anyone meet the same problem?
Dogeek
@regou
Dec 05 2016 09:19
@Qiu-Kejian you didn't include the polyfill
Qiu-Kejian
@Qiu-Kejian
Dec 05 2016 09:20
@regou Thank you very much for your answer.
Yes, i didn't include the polyfill. it would be error in polyfill if it is included.
Qiu-Kejian
@Qiu-Kejian
Dec 05 2016 09:40
blob
It's not work even for the simplest sample. I am frustrated..nothing goes well..I don't belong to web.. I am getting old..
Dogeek
@regou
Dec 05 2016 10:18
@Qiu-Kejian you can not just add inline scripts using class sintax, you need babel compiler, or switch to es5