mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 05:43:16 +08:00
FIX: Linting
This commit is contained in:
parent
230541c975
commit
356e2a4b4a
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import { ajax } from "discourse/lib/ajax";
|
||||
import { default as computed } from "ember-addons/ember-computed-decorators";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
export default Controller.extend({
|
||||
adminBackups: inject(),
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import { popupAjaxError } from "discourse/lib/ajax-error";
|
||||
import { bufferedProperty } from "discourse/mixins/buffered-content";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import { setting } from "discourse/lib/computed";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import { setting } from "discourse/lib/computed";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import GrantBadgeController from "discourse/mixins/grant-badge-controller";
|
||||
import { popupAjaxError } from "discourse/lib/ajax-error";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject as service } from '@ember/service';
|
||||
import { inject as service } from "@ember/service";
|
||||
import Controller from "@ember/controller";
|
||||
import { ajax } from "discourse/lib/ajax";
|
||||
import CanCheckEmails from "discourse/mixins/can-check-emails";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
import WatchedWord from "admin/models/watched-word";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import { popupAjaxError } from "discourse/lib/ajax-error";
|
||||
import { extractDomainFromUrl } from "discourse/lib/utilities";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject as service } from '@ember/service';
|
||||
import { inject as service } from "@ember/service";
|
||||
import Controller from "@ember/controller";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import ModalFunctionality from "discourse/mixins/modal-functionality";
|
||||
import { ajax } from "discourse/lib/ajax";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import ModalFunctionality from "discourse/mixins/modal-functionality";
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import ModalFunctionality from "discourse/mixins/modal-functionality";
|
||||
import { ajax } from "discourse/lib/ajax";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import ModalFunctionality from "discourse/mixins/modal-functionality";
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject as service } from '@ember/service';
|
||||
import { inject as service } from "@ember/service";
|
||||
import Component from "@ember/component";
|
||||
/*global Mousetrap:true */
|
||||
import {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject as service } from '@ember/service';
|
||||
import { inject as service } from "@ember/service";
|
||||
import Component from "@ember/component";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject as service } from '@ember/service';
|
||||
import { inject as service } from "@ember/service";
|
||||
import Component from "@ember/component";
|
||||
import { on, observes } from "ember-addons/ember-computed-decorators";
|
||||
import { findRawTemplate } from "discourse/lib/raw-templates";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject as service } from '@ember/service';
|
||||
import { inject as service } from "@ember/service";
|
||||
import Component from "@ember/component";
|
||||
/* You might be looking for navigation-item. */
|
||||
import { iconHTML } from "discourse-common/lib/icon-library";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
import ModalFunctionality from "discourse/mixins/modal-functionality";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject as service } from '@ember/service';
|
||||
import { inject as service } from "@ember/service";
|
||||
import Controller from "@ember/controller";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
import { isAppWebview, isiOSPWA } from "discourse/lib/utilities";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import Badge from "discourse/models/badge";
|
||||
import UserBadge from "discourse/models/user-badge";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
import { topicLevels } from "discourse/lib/notification-levels";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import ModalFunctionality from "discourse/mixins/modal-functionality";
|
||||
import DiscourseURL from "discourse/lib/url";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import ModalFunctionality from "discourse/mixins/modal-functionality";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { inject as service } from '@ember/service';
|
||||
import { inject } from '@ember/controller';
|
||||
import { inject as service } from "@ember/service";
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import DiscourseURL from "discourse/lib/url";
|
||||
import Quote from "discourse/lib/quote";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import { ajax } from "discourse/lib/ajax";
|
||||
import ModalFunctionality from "discourse/mixins/modal-functionality";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import DiscourseNavigation from "discourse/components/d-navigation";
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import DiscourseURL from "discourse/lib/url";
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
import DiscoveryController from "discourse/controllers/discovery";
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import DiscoveryController from "discourse/controllers/discovery";
|
||||
import { queryParams } from "discourse/controllers/discovery-sortable";
|
||||
import BulkTopicSelection from "discourse/mixins/bulk-topic-selection";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import { ajax } from "discourse/lib/ajax";
|
||||
import ModalFunctionality from "discourse/mixins/modal-functionality";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import { ajax } from "discourse/lib/ajax";
|
||||
import {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
import { extractError } from "discourse/lib/ajax-error";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import { observes } from "ember-addons/ember-computed-decorators";
|
||||
import { fmt } from "discourse/lib/computed";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject as service } from '@ember/service';
|
||||
import { inject as service } from "@ember/service";
|
||||
import Controller from "@ember/controller";
|
||||
export default Controller.extend({
|
||||
router: service(),
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import { popupAjaxError } from "discourse/lib/ajax-error";
|
||||
import Group from "discourse/models/group";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import {
|
||||
default as computed,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject as service } from '@ember/service';
|
||||
import { inject as service } from "@ember/service";
|
||||
import Controller from "@ember/controller";
|
||||
import { default as computed } from "ember-addons/ember-computed-decorators";
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject as service } from '@ember/service';
|
||||
import { inject as service } from "@ember/service";
|
||||
import Controller from "@ember/controller";
|
||||
export default Controller.extend({
|
||||
router: service()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import { ajax } from "discourse/lib/ajax";
|
||||
import { popupAjaxError } from "discourse/lib/ajax-error";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import { default as computed } from "ember-addons/ember-computed-decorators";
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import debounce from "discourse/lib/debounce";
|
||||
import {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import { ajax } from "discourse/lib/ajax";
|
||||
import ModalFunctionality from "discourse/mixins/modal-functionality";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import ModalFunctionality from "discourse/mixins/modal-functionality";
|
||||
import { movePosts, mergeTopic } from "discourse/models/topic";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import NavigationDefaultController from "discourse/controllers/navigation/default";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject as service } from '@ember/service';
|
||||
import { inject as service } from "@ember/service";
|
||||
import Controller from "@ember/controller";
|
||||
export default Controller.extend({
|
||||
router: service()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import PreferencesTabController from "discourse/mixins/preferences-tab-controller";
|
||||
import { setDefaultHomepage } from "discourse/lib/utilities";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import { ajax } from "discourse/lib/ajax";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
export default Controller.extend({
|
||||
tagGroups: inject(),
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import {
|
||||
default as computed,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import { bufferedProperty } from "discourse/mixins/buffered-content";
|
||||
import Composer from "discourse/models/composer";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { inject as service } from '@ember/service';
|
||||
import { inject } from '@ember/controller';
|
||||
import { inject as service } from "@ember/service";
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import { exportUserArchive } from "discourse/lib/export-csv";
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
export default Controller.extend({
|
||||
user: inject(),
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import { ajax } from "discourse/lib/ajax";
|
||||
import {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
export default Controller.extend({
|
||||
application: inject(),
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { inject as service } from '@ember/service';
|
||||
import { inject } from '@ember/controller';
|
||||
import { inject as service } from "@ember/service";
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
import Topic from "discourse/models/topic";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
import { durationTiny } from "discourse/lib/formatter";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { inject as service } from '@ember/service';
|
||||
import { inject } from '@ember/controller';
|
||||
import { inject as service } from "@ember/service";
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import CanCheckEmails from "discourse/mixins/can-check-emails";
|
||||
import computed from "ember-addons/ember-computed-decorators";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { inject } from '@ember/controller';
|
||||
import { inject } from "@ember/controller";
|
||||
import Controller from "@ember/controller";
|
||||
import debounce from "discourse/lib/debounce";
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user