-
Notifications
You must be signed in to change notification settings - Fork 600
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #2017 - Turbo87:angle-brackets, r=locks
Convert curly component to angle bracket component invocations see https://emberjs.github.io/rfcs/0311-angle-bracket-invocation.html the main advantage from this is that arguments and attributes are both first-class citizens now and components invoked with angle bracket syntax can use "modifiers" (see emberjs/rfcs#353)
- Loading branch information
Showing
35 changed files
with
359 additions
and
357 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<ul> | ||
{{#each categories as |category|}} | ||
<li> | ||
{{#link-to 'category' category.slug class='name'}} | ||
<LinkTo @route="category" @model={{category.slug}} class="name"> | ||
<span>{{ category.category }} ({{ format-num category.crates_cnt }})</span> | ||
<div class='arrow-in-list'> | ||
{{svg-jar "right-arrow"}} | ||
</div> | ||
{{/link-to}} | ||
</LinkTo> | ||
</li> | ||
{{/each}} | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<ul> | ||
{{#each crates as |crate|}} | ||
<li> | ||
{{#link-to 'crate' crate.id class='name'}} | ||
<LinkTo @route="crate" @model={{crate.id}} class="name"> | ||
{{ crate.name }} ({{ crate.max_version }}) | ||
<div class='right'> | ||
{{svg-jar "download-clear-back"}} | ||
{{ format-num crate.downloads }} | ||
</div> | ||
{{/link-to}} | ||
</LinkTo> | ||
</li> | ||
{{/each}} | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<ol> | ||
{{#each crates as |crate index|}} | ||
<li> | ||
{{#link-to 'crate' crate.id class='name' data-test-crate-link=index}} | ||
<LinkTo @route="crate" @model={{crate.id}} class="name" data-test-crate-link={{index}}> | ||
<span>{{ crate.name }} ({{ crate.max_version }})</span> | ||
<div class='arrow-in-list'> | ||
{{svg-jar "right-arrow"}} | ||
</div> | ||
{{/link-to}} | ||
</LinkTo> | ||
</li> | ||
{{/each}} | ||
</ol> |
Oops, something went wrong.