jeudi 22 octobre 2015

ember js error: adding script tags in a view

My ember js view looks like this:

//widget-blah.ember.hbs

<script class='X'
        {{bind-attr id='view.Y'}}
        {{bind-attr src='http://ift.tt/1Gl5AWk'}}>
        </script>

This view is rendered correctly in a div I want. I can also see the script tag in DOM tree. But, the blah.js is not actually loaded by the browser.

How do I modify my view such that browser will load blah.js?




Aucun commentaire:

Enregistrer un commentaire