mirror of
https://github.com/discourse/discourse.git
synced 2026-08-08 12:08:12 -05:00
DEV: Update deprecated imports (#34329)
moving forward this will be an auto-fixable eslint rule
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { getOwner } from "@ember/application";
|
||||
import { getOwner } from "@ember/owner";
|
||||
import { later } from "@ember/runloop";
|
||||
import { i18n } from "discourse-i18n";
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { getOwner } from "@ember/application";
|
||||
import { getOwner } from "@ember/owner";
|
||||
import { htmlSafe } from "@ember/template";
|
||||
import { renderAvatar } from "discourse/helpers/user-avatar";
|
||||
import { iconHTML } from "discourse/lib/icon-library";
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
import { getOwner } from "@ember/application";
|
||||
import { action } from "@ember/object";
|
||||
import { getOwner } from "@ember/owner";
|
||||
import { htmlSafe } from "@ember/template";
|
||||
import { isEmpty } from "@ember/utils";
|
||||
import { hbs } from "ember-cli-htmlbars";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { getOwner } from "@ember/application";
|
||||
import { getOwner } from "@ember/owner";
|
||||
import Service, { service } from "@ember/service";
|
||||
import TextareaTextManipulation from "discourse/lib/textarea-text-manipulation";
|
||||
import { replaceVariables } from "../../lib/replace-variables";
|
||||
|
||||
Reference in New Issue
Block a user