nicolewhite/algebra.js

algebra.min.js throwing undefined error on Chrome

pvskand opened this issue · 3 comments

I know that you had updated the dependencies, but unfortunately I have tried working with the updated version of the minified js file and it is still showing the Equation not defined error.
Is there any other way I can work this out?
I have even tried on my friend's laptop and it is still not working!
Below is the error shown for the line var eq = new Equation(x1, x2);
selection_002

The minified version is pointing to ./src folder which is NOT available next to your algebra.min.js! The minifying of the library is not correct. There shouldn't be any external dependency in algebra.min.js

After adding the new version of 0.2.5 minified js, the undefined error aren't being shown. I had forgotten to define Equation and Expression.

Oops, I meant to reply to this issue as well. I'm glad you figured it out. See my explanation: #60 (comment)