I am building my first Meteor application and am in a problem with nesting Javascript widgets.
So, my application is the basic landing page of one page, and I'm trying to embed a Twitter timeline widget with the following code ...
<a class="twitter-timeline" href="https://twitter.com/abrudtkuhl" data-widget-id="325157935250546688">Tweets by @abrudtkuhl</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
The script tag is never executed, and it only displays the tag. I'm not entirely sure if these are Handlebars (the default template engine for Meteor), or Meteor's problem, as I am relatively new to both frameworks.
source share