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"
},
"globals": {
"$": true,
"_": true,
"andThen": true,
"asyncRender": true,
@ -27,7 +26,6 @@
"currentURL": true,
"define": true,
"Discourse": true,
"Ember": true,
"exists": true,
"File": true,
"fillIn": true,
@ -36,7 +34,6 @@
"hasModule": true,
"I18n": true,
"invisible": true,
"jQuery": true,
"keyboardHelper": true,
"keyEvent": 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: "",
showCount: Ember.computed.gt("count", 0)
showCount: computed.gt("count", 0)
});