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,8 +1,9 @@
import Component from "@ember/component";
import computed from "ember-addons/ember-computed-decorators";
import { iconHTML } from "discourse-common/lib/icon-library";
import { bufferedRender } from "discourse-common/lib/buffered-render";
export default Ember.Component.extend(
export default Component.extend(
bufferedRender({
classes: ["text-muted", "text-danger", "text-successful", "text-muted"],
icons: ["far-circle", "times-circle", "circle", "circle"],