DEV: Import EmberObject rather than global variable (#8256)

* DEV: Import ember/object rather than Ember.Object globally

* fixed broken object proxy import

* prettier on js

* added @ember/object/proxy to loader

* added unstaged file

* Fixed objet proxy reference is loader

* Linting!
This commit is contained in:
Mark VanLandingham
2019-10-29 14:23:50 -05:00
committed by GitHub
parent 74dc37c07c
commit c7475ee03b
81 changed files with 200 additions and 120 deletions

View File

@@ -1,8 +1,9 @@
import EmberObject from "@ember/object";
import computed from "ember-addons/ember-computed-decorators";
import ValidState from "wizard/mixins/valid-state";
import { ajax } from "wizard/lib/ajax";
export default Ember.Object.extend(ValidState, {
export default EmberObject.extend(ValidState, {
id: null,
@computed("index")

View File

@@ -1,6 +1,7 @@
import EmberObject from "@ember/object";
import ValidState from "wizard/mixins/valid-state";
export default Ember.Object.extend(ValidState, {
export default EmberObject.extend(ValidState, {
id: null,
type: null,
value: null,

View File

@@ -2,8 +2,9 @@ import Step from "wizard/models/step";
import WizardField from "wizard/models/wizard-field";
import { ajax } from "wizard/lib/ajax";
import computed from "ember-addons/ember-computed-decorators";
import EmberObject from "@ember/object";
const Wizard = Ember.Object.extend({
const Wizard = EmberObject.extend({
@computed("steps.length")
totalSteps: length => length,