Revert Ember.run refactors

This reverts commit 5ca60fcb6b592524086f98279d3e4fd949598343.
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

View File

@ -1,4 +1,3 @@
import { later } from "@ember/runloop";
import DiscourseURL from "discourse/lib/url";
import ClickTrack from "discourse/lib/click-track";
import { fixture, logIn } from "helpers/qunit-helpers";
@ -174,7 +173,7 @@ QUnit.skip("restores the href after a while", async assert => {
assert.timeout(75);
const done = assert.async();
later(() => {
Ember.run.later(() => {
assert.equal(fixture("a").attr("href"), "http://www.google.com");
done();
});