So for x-meme (https://github.com/karan/x-meme), running it locally works fine but on GH pages, the images are all messed up: http://karan.github.io/x-meme/components/x-meme/demo.htmlFollow Polymer on Google+: plus.google.com/107187849809354688692What's happening is I'm getting the width of image after it's loaded to set width of everything else, but (look in the console when opening demo page) it actually gets a width of 0px. I think it's because it get's the width before image has loaded, but I'm not sure why, I am doing everything after onload event.
---
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 polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/7f75ef36-a831-4f2b-b212-351141205ad5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Yes I did Eric. I used polymer event handler and that seemed to work.
- Karan Goel
Sent from Nexus 4. Please ignore typos and abbreviations.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CAFhNAVGLnUcW7zexpHb9NC-bPgQp2zcjgPtceEbCCoMUA_pP1A%40mail.gmail.com.