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

Figure out to avoid calling map js in Nepal #120

Open
DanielJWood opened this issue Apr 5, 2023 · 2 comments
Open

Figure out to avoid calling map js in Nepal #120

DanielJWood opened this issue Apr 5, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@DanielJWood
Copy link
Contributor

I've created workarounds in commit 0275bcf but it doesn't quite pass the sniff test to me...you're still seeing some errors though they don't seem to be breaking...

Is there a way to require the map.js so that it entirely doesn't run on Nepal?

@DanielJWood DanielJWood added the bug Something isn't working label Apr 5, 2023
@DanielJWood
Copy link
Contributor Author

I tried wrapping the require function in an if statement but that didn't work, which makes sense...I think map.js needs to be more properly exported and then called in main.js with an if statement surrounding it.

@DanielJWood
Copy link
Contributor Author

in the mean time i'm wrapping stuff in if statements to exclude nepal inside the map.js function. which is not ideal.

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