mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 08:49:06 +08:00
DEV: Fix "ember/no-global-jquery" lint (#24586)
This commit is contained in:
parent
22210a9c15
commit
916e1371b3
|
@ -1,3 +1,4 @@
|
|||
/* eslint-disable ember/no-global-jquery */
|
||||
(function () {
|
||||
const $activateButton = $("#activate-account-button");
|
||||
$activateButton.on("click", function () {
|
||||
|
|
|
@ -5,6 +5,7 @@ import { action } from "@ember/object";
|
|||
import { cancel, next } from "@ember/runloop";
|
||||
import { inject as service } from "@ember/service";
|
||||
import { isPresent } from "@ember/utils";
|
||||
import $ from "jquery";
|
||||
import { emojiSearch, isSkinTonableEmoji } from "pretty-text/emoji";
|
||||
import { translations } from "pretty-text/emoji/data";
|
||||
import { Promise } from "rsvp";
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
import $ from "jquery";
|
||||
import { spinnerHTML } from "discourse/helpers/loading-spinner";
|
||||
import { decorateGithubOneboxBody } from "discourse/instance-initializers/onebox-decorators";
|
||||
import { decorateHashtags } from "discourse/lib/hashtag-autocomplete";
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
import $ from "jquery";
|
||||
import { test } from "qunit";
|
||||
import { Promise } from "rsvp";
|
||||
import { cook } from "discourse/lib/text";
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
import $ from "jquery";
|
||||
import { withPluginApi } from "discourse/lib/plugin-api";
|
||||
import I18n from "discourse-i18n";
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import Component from "@ember/component";
|
||||
import $ from "jquery";
|
||||
import { cook } from "discourse/lib/text";
|
||||
|
||||
export default Component.extend({
|
||||
|
|
Loading…
Reference in New Issue
Block a user