-
-
Notifications
You must be signed in to change notification settings - Fork 259
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
Does not work with Ember 2.0.0 beta 3 #80
Comments
ContainerView uses |
#79 fixes some of this. But I'm still figuring out how to remove container view usage. |
This might be naive but this is what fixes it for me: this.callbacks.render = function() {
- var containerView = Ember.ContainerView.create({container: container});
+ var subject;
Ember.run(function(){
- var subject = context.subject();
- containerView.pushObject(subject);
- containerView.appendTo('#ember-testing');
+ subject = context.subject();
+ subject.appendTo('#ember-testing');
});
_this.teardownSteps.unshift(function() {
Ember.run(function() {
- Ember.tryInvoke(containerView, 'destroy');
+ Ember.tryInvoke(subject, 'destroy');
});
});
}; |
We can't. ember-try only allows configuration of |
Lets give that a try ;) |
Ember.View
, which is (soft-)removed since beta.3ember-data#canary
becauseember-data < 2
usesArrayPolyfills
I'm cooking up a PR to fix this. Help is definitely welcome.
The text was updated successfully, but these errors were encountered: