mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 22:08:19 +08:00
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:

committed by
GitHub

parent
74dc37c07c
commit
c7475ee03b
@ -1,3 +1,4 @@
|
||||
import EmberObject from "@ember/object";
|
||||
import { IMAGE_VERSION as v } from "pretty-text/emoji/version";
|
||||
|
||||
QUnit.module("model:topic");
|
||||
@ -33,7 +34,7 @@ QUnit.test("visited", assert => {
|
||||
});
|
||||
|
||||
QUnit.test("lastUnreadUrl", assert => {
|
||||
const category = Ember.Object.create({
|
||||
const category = EmberObject.create({
|
||||
navigate_to_first_post_after_read: true
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user