Algebrite icon indicating copy to clipboard operation
Algebrite copied to clipboard

Add documentation about using Algebrite directly in Browsers

Open paulobuchsbaum opened this issue 7 years ago • 2 comments

Hi Davide, I'm from Brazil. Great job! Symbolic integral is so cool. I'm kind of novice in Node.js, therefore I apologize in advance for my probably silly question I'm trying to use Algebrite in the browser without success. I would not like to depend on tools like Browserify and use the Algebrite functions only within that file. I would like to directly use Algebrite functions in external code without having to transpile. In short, I would like to use Algebrite as a black box. I've been able to do this with some Node.js modules, such as Math.js and Poly-roots.js, but looking at algebrite.js or _algebrite.bundle-for-browser.js, I cannot have a clue how use the functions like numerator, etc.

paulobuchsbaum avatar Aug 04 '17 20:08 paulobuchsbaum

I've got the solution. I saw the sandbox code that you made it available in Algebrite Sandbox. There you include __algebrite.bundle-for-browser.js_file and after one have access for all algebrite funcions using the object Algebrite. It is not so intuitive because the module name is algebrite, with lower case. Thank you for the great package. Maybe it would be nice you include this small comentary in the documentation for other novice guys like me.

paulobuchsbaum avatar Aug 04 '17 20:08 paulobuchsbaum

thanks for the note, adding to backlog!

davidedc avatar Aug 05 '17 11:08 davidedc