DEV: Import every instance of Ember.computed function (#8267)

* DEV: Import every instance of Ember.computed function

* export default for Ember.computed
This commit is contained in:
Mark VanLandingham
2019-10-30 15:28:29 -05:00
committed by GitHub
parent 790a7e2095
commit 2ae21e9c35
153 changed files with 621 additions and 434 deletions

View File

@ -1,3 +1,4 @@
import { empty, alias } from "@ember/object/computed";
import Component from "@ember/component";
import { on } from "ember-addons/ember-computed-decorators";
import computed from "ember-addons/ember-computed-decorators";
@ -5,14 +6,14 @@ import computed from "ember-addons/ember-computed-decorators";
export default Component.extend({
classNameBindings: [":value-list"],
inputInvalid: Ember.computed.empty("newValue"),
inputInvalid: empty("newValue"),
inputDelimiter: null,
inputType: null,
newValue: "",
collection: null,
values: null,
noneKey: Ember.computed.alias("addKey"),
noneKey: alias("addKey"),
@on("didReceiveAttrs")
_setupCollection() {