Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing into an angular project via npm / index.html #61

Open
AjayvirS opened this issue Jul 9, 2020 · 0 comments
Open

Importing into an angular project via npm / index.html #61

AjayvirS opened this issue Jul 9, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@AjayvirS
Copy link

AjayvirS commented Jul 9, 2020

Describe the bug

When I try to import tex2max using declare var tex2max: any; I get a ReferenceError: tex2max is not defined. But this doesn't occur with other packages. I have tried binding the scripts by installing the npm package and through the script tag in index.html

To Reproduce
Steps to reproduce the behavior:

  1. Install npm package using npm install tex2max --save-dev
  2. Try to import and use a tex2max object
  3. See error

Expected behavior
tex2max object should be created, I need the toMaxima() method specifically

Desktop (please complete the following information):

  • MacOS 10.14.6
  • Firefox 78.0.1
@AjayvirS AjayvirS added the bug Something isn't working label Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant