DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592)

This commit is contained in:
Joffrey JAFFEUX
2019-05-27 10:15:39 +02:00
committed by GitHub
parent 170c66c190
commit bfea922167
389 changed files with 2448 additions and 2460 deletions

View File

@ -22,7 +22,7 @@ export default SelectKitHeaderComponent.extend({
@on("didRender")
_positionFilter() {
if (!this.get("shouldDisplayFilter")) return;
if (!this.shouldDisplayFilter) return;
const $filter = this.$(".filter");
$filter.width(0);

View File

@ -42,12 +42,12 @@ export default Ember.Component.extend({
@computed("computedContent", "highlightedSelection.[]")
isHighlighted(computedContent, highlightedSelection) {
return highlightedSelection.includes(this.get("computedContent"));
return highlightedSelection.includes(this.computedContent);
},
click() {
if (this.get("isLocked")) return false;
this.onClickSelectionItem([this.get("computedContent")]);
if (this.isLocked) return false;
this.onClickSelectionItem([this.computedContent]);
return false;
}
});