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

LoadLibrary does not work on 2nd run when using integrated editor #41

Closed
seek-Love opened this issue Jan 8, 2023 · 3 comments
Closed
Labels
bug Something isn't working

Comments

@seek-Love
Copy link

Steps to reproduce:

  1. dojs newfile.js
  2. Add LoadLibrary("curl"); to the top
  3. in Setup() declare var https = new Curl();
  4. Allow program to run, then exit
  5. Run again
  6. ReferenceError: 'Curl' is not defined

The issue goes away temporarily if you save the project, close the editor, and reopen, but this becomes understandably tedious

@SuperIlu
Copy link
Owner

SuperIlu commented Jan 8, 2023

Nice catch, I must admit I seldom write code using the editor and I never noticed.
I'll check that and it will hopefully be fixed in the next release (which, sadly, doesn't have a release date yet)...

@SuperIlu SuperIlu added the bug Something isn't working label Jan 8, 2023
@SuperIlu SuperIlu added this to the v1.10.0 release milestone Jan 8, 2023
@SuperIlu
Copy link
Owner

SuperIlu commented Jan 8, 2023

Found and fixed for next release. Give me a nudge if you want an unofficial pre-release...

@SuperIlu
Copy link
Owner

fixed in v1.10.0

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

2 participants