Revert Ember.run refactors

This reverts commit 5ca60fcb6b.
This commit is contained in:
Robin Ward
2019-10-29 17:10:47 -04:00
parent cfa5d123a3
commit fcb1ca52f9
153 changed files with 319 additions and 493 deletions
@@ -1,4 +1,3 @@
import { run } from "@ember/runloop";
import startApp from "wizard/test/helpers/start-app";
var wizard;
@@ -8,7 +7,7 @@ QUnit.module("Acceptance: wizard", {
},
afterEach() {
run(wizard, "destroy");
Ember.run(wizard, "destroy");
}
});
@@ -1,4 +1,3 @@
import { run } from "@ember/runloop";
import Wizard from "wizard/wizard";
import initializer from "wizard/initializers/load-helpers";
@@ -6,7 +5,7 @@ let app;
let started = false;
export default function() {
run(() => (app = Wizard.create({ rootElement: "#ember-testing" })));
Ember.run(() => (app = Wizard.create({ rootElement: "#ember-testing" })));
if (!started) {
initializer.initialize(app);