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

fix: handle sandbox attribute being null #28

Merged
merged 1 commit into from
May 13, 2024

Conversation

jonasb
Copy link
Contributor

@jonasb jonasb commented May 12, 2024

When the sandbox attribute was null I got an exception in the executor constructor.

My use case is using codeapi in React, which sets the attributes one by one, which each triggers CodapiSnippet.attributeChangedCallback.

I suspect this fixes #26

@nalgeon nalgeon merged commit cc791b1 into nalgeon:main May 13, 2024
@nalgeon
Copy link
Owner

nalgeon commented May 13, 2024

Thanks a lot! Yes, it seems to be the same problem as #26.

@jonasb jonasb deleted the fix-null-sandbox branch May 14, 2024 14:04
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

Successfully merging this pull request may close these issues.

Docusaurus in-browser -> Uncaught TypeError
2 participants