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

Apps should be able to load multiple times #42

Open
daffl opened this issue Aug 31, 2015 · 2 comments
Open

Apps should be able to load multiple times #42

daffl opened this issue Aug 31, 2015 · 2 comments

Comments

@daffl
Copy link
Contributor

daffl commented Aug 31, 2015

Currently you can not load your app twice. This e.g. breaks the tests if spinning up multiple SSR instances in the same process needing them to run separately.

@matthewp
Copy link
Contributor

I think the issue is with CanJS, which expects to be a global. Maybe we can create some tests that don't depend on Can.

@daffl
Copy link
Contributor Author

daffl commented Sep 1, 2015

I'm not sure. The error you get is a little weird. Even if it expects to be a global, it shouldn't error if you initialize it twice.

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

No branches or pull requests

2 participants