vkaravir / JSAV

JavaScript Algorithm Visualization library
MIT License
112 stars 40 forks source link

Fixed latex not appearing bug #210

Closed Raghu1320 closed 5 years ago

vkaravir commented 5 years ago

I'm sorry but I'm going to revert this. This creates a direct dependency from JSAV to MathJax, which doesn't really make sense to me.

The least that needs to be done is to prepend the lines with check for MathJax existing in window (so adding something like window.MathJax && in the beginning).

But overall I'd like to better understand what's the issue to come up with a better solution.