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

Remove instanceof Ember.View check. #4

Merged
merged 2 commits into from
Jun 18, 2015

Conversation

rwjblue
Copy link
Contributor

@rwjblue rwjblue commented Jun 18, 2015

In Ember 1.13+ Ember.View is a different deprecated class than the parent class of Ember.Component, so checking for t instanceof Ember.View when t was a component would not return true.

I discovered this while updating ember-modal-dialog to Ember 1.13.

This issue blocks updating that lib.

In Ember 1.13+ Ember.View is a different deprecated class than the
parent class of `Ember.Component`, so checking for `t instanceof
Ember.View` when `t` was a component would not return true.

I discovered this while updating ember-modal-dialog to Ember 1.13.

This issue blocks updating that lib.
@rwjblue
Copy link
Contributor Author

rwjblue commented Jun 18, 2015

Also updated to handle the loss of Ember.View.views in later Ember versions.

All green now...

chrislopresto added a commit that referenced this pull request Jun 18, 2015
Remove instanceof Ember.View check.
@chrislopresto chrislopresto merged commit f8e7357 into yapplabs:master Jun 18, 2015
@rwjblue rwjblue deleted the remove-instance-check branch June 18, 2015 21:44
@jmurphyau
Copy link

Just got caught up by this one - Thanks 👍

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.

3 participants