chore: Convert last few curlies to angle brackets
MODIFY
tests/dummy/app/templates/docs.hbs
tests/dummy/app/templates/docs.hbs
<DocsViewer as |Viewer|>
<Viewer.nav as |Nav|>
- {{Nav.section "Usage"}}
+ <Nav.section @label="Usage" />
<Nav.subnav as |Nav|>
- {{Nav.item "Quickstart" "docs.index"}}
- {{Nav.item "How it works" "docs.how-it-works"}}
- {{Nav.item "whenRouteIdle" "docs.when-route-idle"}}
- {{Nav.item "route-idle helper" "docs.route-idle-helper"}}
- {{Nav.item "Testing" "docs.testing"}}
- {{Nav.item "Fastboot" "docs.fastboot"}}
+ <Nav.item @label="Quickstart" @route="docs.index" />
+ <Nav.item @label="How it works" @route="docs.how-it-works" />
+ <Nav.item @label="whenRouteIdle" @route="docs.when-route-idle" />
+ <Nav.item @label="route-idle helper" @route="docs.route-idle-helper" />
+ <Nav.item @label="Testing" @route="docs.testing" />
+ <Nav.item @label="Fastboot" @route="docs.fastboot" />
</Nav.subnav>
</Viewer.nav>

MODIFY
tests/dummy/app/templates/index.hbs
tests/dummy/app/templates/index.hbs
<DocsHero @logo="ember" @slimHeading="Ember" @strongHeading="App Scheduler" @byline="An Ember addon to schedule work at different phases of app life cycle" />
<div class="docs-ml-20 docs-mt-8 docs-text-center">
- Looking for the <strong>Quickstart</strong>? {{docs-link "It's here" "docs.index"}}.
+ Looking for the <strong>Quickstart</strong>? <DocsLink @route="docs.index">It's here</DocsLink>.
</div>
<DocsDemo @class="docs-m-20" as |demo|>
<demo.example @name="when-route-idle">
execute its defered work. It also provides a promise-based function, ``whenRouteIdle`, to allow you to control when specific work will execute.
An example of `whenRouteIdle` can be seen below.
</p>
- {{demo.snippet "when-route-idle.js"}}
+ <demo.snippet @name="when-route-idle.js" />
</demo.example>
</DocsDemo>
- <div class="docs-ml-20 docs-mb-8">To learn more, please {{docs-link "read the docs" "docs.index"}}</div>
+ <div class="docs-ml-20 docs-mb-8">To learn more, please <DocsLink @route="docs.index">read the docs</DocsLink></div>
</div>
\ No newline at end of file

MODIFY
tests/dummy/app/templates/not-found.hbs
tests/dummy/app/templates/not-found.hbs
<DocsHeader />
<DocsViewer as |viewer|>
- {{viewer.nav}}
+ <viewer.nav />
<viewer.main>
<div class="docs-container">

MODIFY
yarn.lock
yarn.lock
@@ -9871,7 +9871,7 @@ humanize-ms@^1.2.1:
dependencies:
ms "^2.0.0"
-husky@6:
+husky@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/husky/-/husky-6.0.0.tgz#810f11869adf51604c32ea577edbc377d7f9319e"
integrity sha512-SQS2gDTB7tBN486QSoKPKQItZw97BMOd+Kdb6ghfpBc0yXyzrddI0oDV5MkDAbuB4X2mO3/nj60TRMcYxwzZeQ==

chore: Convert last few curlies to angle brackets (#1116)