REFACTOR: Remove Ember.Component global variable

Use imports instead.
This commit is contained in:
Robin Ward
2019-10-23 12:30:52 -04:00
parent 3db61aa18a
commit a8a76198b1
270 changed files with 540 additions and 270 deletions

View File

@ -1,3 +1,4 @@
import Component from "@ember/component";
import { ajax } from "discourse/lib/ajax";
import {
default as computed,
@ -8,7 +9,7 @@ import {
export const keepAliveDuration = 10000;
export const bufferTime = 3000;
export default Ember.Component.extend({
export default Component.extend({
// Passed in variables
action: null,
post: null,

View File

@ -1,3 +1,4 @@
import Component from "@ember/component";
import {
default as computed,
on
@ -9,7 +10,7 @@ import {
const MB_GET_LAST_MESSAGE = -2;
export default Ember.Component.extend({
export default Component.extend({
topicId: null,
presenceUsers: null,