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

Random cleanup while reviewing ember-views package. #12541

Merged
merged 1 commit into from
Nov 5, 2015

Conversation

rwjblue
Copy link
Member

@rwjblue rwjblue commented Oct 31, 2015

Just some random odds and ends that bothered me while reviewing ember-views with @GavinJoyce.

didInsertElement() {
this._super(...arguments);
get(this, 'element').indeterminate = !!get(this, 'indeterminate');
},

_updateElementValue() {
change() {
set(this, 'checked', this.$().prop('checked'));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a slight change in behavior? The children must call super?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, yes, but they should have been already....

@mixonic
Copy link
Member

mixonic commented Nov 5, 2015

Seems good.

mixonic added a commit that referenced this pull request Nov 5, 2015
Random cleanup while reviewing ember-views package.
@mixonic mixonic merged commit fa15725 into emberjs:master Nov 5, 2015
@mixonic mixonic deleted the random-cleanup branch November 5, 2015 02:16
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