Not 100% sure how gist embeds work, but it looks like it document.write()'s an iframe into the import document? This is what I get when I embed a gist in a dom-module:
[image: Screen Shot 2016-01-07 at 2.32.56 PM.png] On Wed, Jan 6, 2016 at 8:58 AM Hans Dulimarta <[email protected]> wrote: > I was able to inject an external HTML document into my polymer element > using the importHref utility function and the document is rendered properly > within the polymer element. However, when the HTML document includes GitHub > gists like > > <script src="https://gist.github.com/xxxxxxxx.js"></script> > > The gist code snippets were not rendered. Do I have to write extra code > inside the importHref onload callback function to execute the script? > > 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/9e0725a9-fb1e-4c88-a975-cc6022a476bb%40googlegroups.com > <https://groups.google.com/d/msgid/polymer-dev/9e0725a9-fb1e-4c88-a975-cc6022a476bb%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/CACGqRCB0-AUGn4sPVAcrWLD0tKAqi2zdyrugfA2KL6sox7bc5w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
