-
-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* paper-menu-item: Convert string action `action` to closure action `onClick`. * Change assertion from "`onChange` function" to "`onChange` action" to reflect action requirement. * Fix jscs style warnings. * Change `onChange` test names to reflect "action", not "function". * paper-select: Add assert and test `onChange` action. * paper-select: Rename route to "select" to match other components. * paper-select: Update dummy app page for onChange in paper-select and paper-input. * paper-select: Fix state example to not show blank states. * paper-select: Remove unused `import Ember` from test to pass jshint. * Update CONTRIBUTING.md for revised action style policy and coding technique. * paper-item: Uses `onClick` action (string or closure) rather than string action `action`. * paper-select, paper-input: Combine assertion for `onChange`. Coding style 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. * Enable livereload for ember-paper as ad addon (remove before release). Causes ember-paper to be watched during development of another application. * paper-input, paper-select: Update test for revised `onChange` assert message. * paper-select: Use value instead of model as an attribute. * paper-checkbox, paper-switch: Use attribute `value` instead of `checked`. * paper-checkbox: Update dummy app to better demonstrate `onChange`. All examples now function. * paper-switch: Update dummy app so all switches work. * paper-select: Changed attribute `item-label-callback` to `itemLabelCallback`. * paper-select: uses attribute `getItems` instead of `on-open`. * paper-menu: now uses `isOpen` instead of `is-open`. * Updated changelog.md with general help and migration instructions. * Updated changelog.md with the pull request id for this branch. * paper-menu-abstract: Coding style.
- Loading branch information
1 parent
d19a13c
commit f2d8cdb
Showing
38 changed files
with
261 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
import Ember from 'ember'; | ||
import PaperInput from './paper-input'; | ||
|
||
let { computed } = Ember; | ||
|
||
export default PaperInput.extend({ | ||
label: Ember.computed.alias('placeholder'), | ||
value: Ember.computed.alias('model'), | ||
itemLabelCallback: Ember.computed.alias('item-label-callback'), | ||
onOpen: Ember.computed.alias('on-open') | ||
label: computed.alias('placeholder') | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.