mirror of
https://github.com/discourse/discourse.git
synced 2025-09-08 12:06:51 +08:00
REFACTOR: Remove Ember.Component
global variable
Use imports instead.
This commit is contained in:
parent
3db61aa18a
commit
a8a76198b1
270 changed files with 540 additions and 270 deletions
|
@ -1,3 +1,4 @@
|
|||
import Component from "@ember/component";
|
||||
const { get, isNone, run, isEmpty, makeArray } = Ember;
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
import UtilsMixin from "select-kit/mixins/utils";
|
||||
|
@ -10,7 +11,7 @@ import {
|
|||
applyCollectionHeaderCallbacks
|
||||
} from "select-kit/mixins/plugin-api";
|
||||
|
||||
export default Ember.Component.extend(
|
||||
export default Component.extend(
|
||||
UtilsMixin,
|
||||
PluginApiMixin,
|
||||
DomHelpersMixin,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue