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

use create rather then property when adding multiple containers #157

Merged

Conversation

gvocale
Copy link
Contributor

@gvocale gvocale commented Jun 10, 2020

Using property would throw the error:

Uncaught Error: Assertion Failed: EmberObject.create no longer supports defining computed properties. Define computed properties using extend() or reopen() before calling create().

While instead using create() seems to fix the issue.

@btecu btecu merged commit 8addce2 into adopted-ember-addons:master Jun 10, 2020
@btecu
Copy link
Member

btecu commented Jun 10, 2020

Thanks @gvocale!

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.

2 participants