No implicit this codemod (#17235)

* Run no-implicit-this codemod for app templates
* Run tagless-ember-components-codemod for plugins
* Turn on no-implicit-this lint
This commit is contained in:
Peter Wagenet
2022-07-05 10:41:31 -07:00
committed by GitHub
parent fbc1bc4255
commit 371bbadb92
635 changed files with 4626 additions and 4634 deletions

View File

@ -1,16 +1,16 @@
{{#if shouldDisplay}}
{{#if this.shouldDisplay}}
<div class="presence-users">
<div class="presence-avatars">
{{#each presenceUsers as |user|}}
{{#each this.presenceUsers as |user|}}
{{avatar user imageSize="small"}}
{{/each}}
</div>
<span class="presence-text">
<span class="description">
{{#if isReply ~}}
{{i18n "presence.replying" count=presenceUsers.length}}
{{#if this.isReply ~}}
{{i18n "presence.replying" count=this.presenceUsers.length}}
{{~else~}}
{{i18n "presence.editing" count=presenceUsers.length}}
{{i18n "presence.editing" count=this.presenceUsers.length}}
{{~/if}}
{{~""~}}
</span>

View File

@ -1,14 +1,14 @@
{{#if shouldDisplay}}
{{#if this.shouldDisplay}}
<div class="presence-users">
<div class="presence-avatars">
{{#each users as |user|}}
{{#each this.users as |user|}}
<UserLink @user={{user}}>
{{avatar user imageSize="small"}}
</UserLink>
{{/each}}
</div>
<span class="presence-text">
<span class="description">{{i18n "presence.replying_to_topic" count=users.length}}</span>{{!-- (using comment to stop whitespace)
<span class="description">{{i18n "presence.replying_to_topic" count=this.users.length}}</span>{{!-- (using comment to stop whitespace)
--}}<span class="wave"><span class="dot">.</span><span class="dot">.</span><span class="dot">.</span></span>
</span>
</div>

View File

@ -1 +1 @@
<ComposerPresenceDisplay @model={{model}} />
<ComposerPresenceDisplay @model={{this.model}} />

View File

@ -1,2 +1,2 @@
{{!-- Note: the topic-above-footer-buttons outlet is only rendered for logged-in users --}}
<TopicPresenceDisplay @topic={{model}} />
<TopicPresenceDisplay @topic={{this.model}} />