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

Danchadwick wip buff up #334

Merged

Conversation

DanChadwick
Copy link
Contributor

Update a broad variety of small items, bring other components into harmony with already-updated components. See commit messages for details.

…tyle update.

When paper-select calls _super() in didReciveAttrs, it will trigger paper-input's assertion, not its own.
Rather than assert before the call to _super, simply combine the messages.
Causes ember-paper to be watched during development of another application.
- paper-menu now uses `value` instead of `model`.
- paper-checkbox now uses `value` instead of `checked`.
- paper-switch now uses `value` instead of `checked`.
- paper-select now uses required an `onchange` action.
Copy link
Owner

Choose a reason for hiding this comment

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

Should be onChange, right?

@miguelcobain miguelcobain merged commit f2d8cdb into miguelcobain:wip/v1.0.0 Apr 13, 2016
@@ -19,9 +19,9 @@ export default Ember.Component.extend(RippleMixin, ProxyMixin, {

hasProxiedComponent: Ember.computed.bool('proxiedComponents.length'),

hasSecondaryAction: Ember.computed('secondaryItem', 'action', function() {
hasSecondaryAction: Ember.computed('secondaryItem', 'onClick', function() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not destructure computed from Ember, just like in paper-input.js

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@xomaczar - Absolutely. The purpose of this PR was to make some API changes. The affected file has not been gone thru and adjusted to conform to the ember-paper style guides (in contributing.md). I only touch paper-item to get rid of all the "action" properties.

Copy link
Contributor

Choose a reason for hiding this comment

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

@DanChadwick makes sense

@DanChadwick DanChadwick deleted the danchadwick-wip-buff-up branch April 14, 2016 01:58
@DanChadwick DanChadwick restored the danchadwick-wip-buff-up branch April 15, 2016 11:13
@DanChadwick DanChadwick deleted the danchadwick-wip-buff-up branch April 15, 2016 18:57
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.

None yet

3 participants