Re: [webcomponents] Unable to get Custom Elements working in a static page. (#392)

I've added `console.logs` to the `createdCallback`, `attachedCallback`, etc methods in the `registerElement` calls. This shows two different orderings of output. 

This is the output for the Meteor version:

![meteor-output](https://cloud.githubusercontent.com/assets/16913311/13233040/bd72c074-d966-11e5-8204-a65f85b11961.jpg)

This is the output for the static version:

![static-output](https://cloud.githubusercontent.com/assets/16913311/13233050/c891ce82-d966-11e5-83b4-019aedaa2568.jpg)

Could there be a load-order problem? Are there any rules on when `registerElement` should be called? I tried placing the static scripts at the end of the page, which changes the output order, but still renders the same thing (broken, not like the Meteor version).

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/392#issuecomment-187387866

Received on Monday, 22 February 2016 21:20:50 UTC