DEV: Fix an `on` import deprecation (#28588)
This commit is contained in:
parent
c8f5445030
commit
6136a275dd
|
@ -4,7 +4,7 @@ import { alias } from "@ember/object/computed";
|
||||||
import { getOwner } from "@ember/owner";
|
import { getOwner } from "@ember/owner";
|
||||||
import { next, schedule, throttle } from "@ember/runloop";
|
import { next, schedule, throttle } from "@ember/runloop";
|
||||||
import { classNameBindings } from "@ember-decorators/component";
|
import { classNameBindings } from "@ember-decorators/component";
|
||||||
import { observes } from "@ember-decorators/object";
|
import { observes, on } from "@ember-decorators/object";
|
||||||
import { BasePlugin } from "@uppy/core";
|
import { BasePlugin } from "@uppy/core";
|
||||||
import $ from "jquery";
|
import $ from "jquery";
|
||||||
import { resolveAllShortUrls } from "pretty-text/upload-short-url";
|
import { resolveAllShortUrls } from "pretty-text/upload-short-url";
|
||||||
|
@ -41,7 +41,6 @@ import { findRawTemplate } from "discourse-common/lib/raw-templates";
|
||||||
import discourseComputed, {
|
import discourseComputed, {
|
||||||
bind,
|
bind,
|
||||||
debounce,
|
debounce,
|
||||||
on,
|
|
||||||
} from "discourse-common/utils/decorators";
|
} from "discourse-common/utils/decorators";
|
||||||
import I18n from "discourse-i18n";
|
import I18n from "discourse-i18n";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue