jeudi 29 janvier 2015

How do I rerender mathquill.js?


The problem is, I'm using angularjs ng-include to load partial, and mathquill box is in the partial, if I put



<script src="/MathQuill/mathquill.js"></script>


in the partial view, it works fine, but I will get a warning:



Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://ift.tt/ZyN3LX.


If I put



<script src="/MathQuill/mathquill.js"></script>


in the main view, after loading partial, mathquill doesn't work at all, so is this the rendering problem? How do I re-render the partial view? Or if it's not, how do I solve it?





Aucun commentaire:

Enregistrer un commentaire