mardi 28 février 2017

Sahrethis emberJs

I want to add sharethis in emberjs templates. After a lot of test i manage to make it work by adding the script tag inside the template itself.

<script type="text/javascript" src="http://ift.tt/2mDlfZ3"></script>

Is their a way to do it in a better way ? I would like to add the script in the page header and to force rerendering of sharethis in the controller of my view after the rendering. But i was not able to make it work in ember.

Note : i use ember 1.13




Aucun commentaire:

Enregistrer un commentaire