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

Viz JS Map doesn't render in Firefox #332

Open
ooker777 opened this issue Mar 9, 2022 · 3 comments
Open

Viz JS Map doesn't render in Firefox #332

ooker777 opened this issue Mar 9, 2022 · 3 comments

Comments

@ooker777
Copy link

ooker777 commented Mar 9, 2022

Checking the console I get

TypeError: e is null
[content.js:109:399](moz-extension://d6a29701-c0d5-43eb-867f-b837d9666284/content.js)
SyntaxError: export declarations may only appear at top level of a module [render.browser.js:10:44238](https://argdown.org/sandbox/render.browser.js)
@christianvoigt
Copy link
Owner

Thanks for the report. I can reproduce this in Firefox as well. Chrome and Safari seem to be fine. This is caused by browser.render.js from Viz.js, even though this should be the "browser-compatible" version of it.

@ooker777
Copy link
Author

ooker777 commented Mar 9, 2022 via email

@christianvoigt
Copy link
Owner

I think this is either a problem of Viz.js (though browser.render.js should obviously work in the browser) or a bundling problem (the Sandbox is bundled with Webpack). But I will have to investigate this further.

So far I have no idea yet why this only occurs in Firefox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants