DEV: remove global Ember usage.

Remove Ember from lint globals, along with jquery globals
This commit is contained in:
Jeff Wong 2020-04-20 17:22:57 -07:00
parent ec025b4c93
commit 1b89def89e
2 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,6 @@
"sourceType": "module" "sourceType": "module"
}, },
"globals": { "globals": {
"$": true,
"_": true, "_": true,
"andThen": true, "andThen": true,
"asyncRender": true, "asyncRender": true,
@ -27,7 +26,6 @@
"currentURL": true, "currentURL": true,
"define": true, "define": true,
"Discourse": true, "Discourse": true,
"Ember": true,
"exists": true, "exists": true,
"File": true, "File": true,
"fillIn": true, "fillIn": true,
@ -36,7 +34,6 @@
"hasModule": true, "hasModule": true,
"I18n": true, "I18n": true,
"invisible": true, "invisible": true,
"jQuery": true,
"keyboardHelper": true, "keyboardHelper": true,
"keyEvent": true, "keyEvent": true,
"moduleFor": true, "moduleFor": true,

View File

@ -1,5 +1,8 @@
export default Ember.Component.extend({ import Component from "@ember/component";
import { computed } from "@ember/object";
export default Component.extend({
tagName: "", tagName: "",
showCount: Ember.computed.gt("count", 0) showCount: computed.gt("count", 0)
}); });