Update ember-one-way-controls to version 2.0.0 🚀 (#475)

* chore(package): update ember-one-way-controls to version 2.0.0
* update yarn.lock
* update `gh-trim-focus-input` for removal of `sanitizeInput` in `ember-one-way-controls`
This commit is contained in:
Greenkeeper 2017-01-23 13:03:05 +01:00 committed by Kevin Ansfield
parent 333ed66776
commit c26b6fa04f
3 changed files with 14 additions and 10 deletions

View File

@ -31,12 +31,16 @@ const TrimFocusInputComponent = GhostInput.extend({
this._focus();
},
sanitizeInput(input) {
if (input && typeof input.trim === 'function') {
return input.trim();
} else {
return input;
focusOut(event) {
this._trimInput(event.target.value);
},
_trimInput(value) {
if (value && typeof value.trim === 'function') {
value = value.trim();
}
this._processNewValue(value);
},
_focus() {

View File

@ -68,7 +68,7 @@
"ember-load": "0.0.11",
"ember-load-initializers": "0.6.3",
"ember-myth": "0.1.1",
"ember-one-way-controls": "1.1.2",
"ember-one-way-controls": "2.0.0",
"ember-power-select": "1.2.0",
"ember-resolver": "2.1.1",
"ember-route-action-helper": "2.0.2",

View File

@ -2362,11 +2362,11 @@ ember-new-computed@^1.0.0, ember-new-computed@^1.0.2:
dependencies:
ember-cli-babel "^5.1.5"
ember-one-way-controls@1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/ember-one-way-controls/-/ember-one-way-controls-1.1.2.tgz#9ebaba62bb43bf3d5e680f0d13b996353e47ce6d"
ember-one-way-controls@2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/ember-one-way-controls/-/ember-one-way-controls-2.0.0.tgz#7a79f1a56094c44fe1012fd0f9b75bd92d136fe9"
dependencies:
ember-cli-babel "^5.1.6"
ember-cli-babel "^5.1.7"
ember-cli-htmlbars "^1.0.10"
ember-get-helper "~1.1.0"
ember-invoke-action "1.4.0"