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

bugfix: allow client to run in strict mode #51

Open
wants to merge 1 commit into
base: v7
Choose a base branch
from

Conversation

tylerchilds
Copy link

tested locally, this allows for the scripts to be included as esm with the least amount of friction:

import "http://localhost:8042/statebus.js"
import "http://localhost:8042/client-library.js"
import "http://unpkg.com/braidify/braidify-client.js"

window.braid_fetch = fetch

export const state = bus.state

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.

1 participant