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

Uncaught TypeError: Assignment to constant variable. #12

Closed
huubl opened this issue Oct 12, 2022 · 4 comments
Closed

Uncaught TypeError: Assignment to constant variable. #12

huubl opened this issue Oct 12, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@huubl
Copy link

huubl commented Oct 12, 2022

Hi,

The maps don't load anymore, I get:

Uncaught TypeError: Assignment to constant variable.
    at Waymark_Map.get_type (waymark-js.min.js:9:141066)

Everything seems to work again when search and replace for(i in to for(var i in in:

/~https://github.com/morehawes/waymark/blob/master/assets/dist/waymark-js/js/waymark-js.min.js

@morehawes
Copy link
Collaborator

Hi @huubl,

Thanks for reaching out. Please ensure you are using the latest version (v0.9.20) and would you be able to provide a link to a page where I can see this happening?

Cheers,

Joe

@huubl
Copy link
Author

huubl commented Oct 12, 2022

Hi @morehawes,

I have fixed it and made a pull request: Bug fix: Assignment to constant variable

Thanks,
Huub

@morehawes
Copy link
Collaborator

Hi @huubl,

Thanks for the PR and apologies for not getting to this sooner.

I have merged this and have released version 0.9.21 :)

Cheers,

Joe

@morehawes morehawes added the bug Something isn't working label Oct 19, 2022
@huubl
Copy link
Author

huubl commented Oct 19, 2022

Thanks @morehawes for merging and releasing a new version this quick!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants