FAQ Database Discussion Community


Unable to render some equations from latex to html using Mathquill

latex,mathquill
<!DOCTYPE html> <html> <head> <title>Mathquill</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <link rel="stylesheet" type="text/css" href="mathquill-0.9.4/mathquill.css"> <script src="jquery-1.9.1.min.js"></script> <script src="mathquill-0.9.4/mathquill.min.js"></script> <script> function clickMe() { $('#taOne').mathquill('latex', 'x^2');...

How do I rerender mathquill.js?

javascript,angularjs,mathquill
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...