Responded on SO.

On Tue, Dec 22, 2015 at 10:44 PM Darin Hensley <[email protected]>
wrote:

> stack overflow post
> <http://stackoverflow.com/questions/34428255/domcontentloaded-never-fires-can-not-use-webcomponentsready>
>
>
> Using polymer 1.2.3,
>
>
> In linux firefox 42.0, where the polyfill(webcomponents-lite.js) is used:
>
>
> `WebComponentsReady` fires to soon, because I `querySelect` and
> `getElementById` elements that do not exist yet in `initialize`.
>
>
>     window.addEventListener('WebComponentsReady', function() {
>       initialize
>         .then(attatchListeners)
>
>
> So I am using `DOMContentLoaded` but it never fires:
>
>        document.addEventListener('DOMContentLoaded', function() {
>          initialize
>           .then(attatchListeners)
>
>
>
> Any ideas on how to make initialize run when the elements are available
> for `querySelect()`?
>
> Follow Polymer on Google+: plus.google.com/107187849809354688692
> ---
> You received this message because you are subscribed to the Google Groups
> "Polymer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/polymer-dev/866fb641-5c8f-47bd-ba78-94588daa606b%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/866fb641-5c8f-47bd-ba78-94588daa606b%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/CACGqRCAaEqO%2BYQKq9XejYpzwa-LY%2BAfYBWHKxUgD%3D8EDLXXurA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to