-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
better lifecycle hooks, failing test for multiple top level elements …
…within a tagless component being sustained
- Loading branch information
Showing
8 changed files
with
37 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
{{sustain 'tests/sustain/components/test-title'}} | ||
{{sustain 'tests/sustain/components/test-title'}} | ||
{{sustain 'tests/sustain/components/tagless-title'}} |
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
7 changes: 7 additions & 0 deletions
7
tests/dummy/app/routes/tests/sustain/components/tagless-title/component.js
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import Ember from 'ember'; | ||
import layout from './template'; | ||
|
||
export default Ember.Component.extend({ | ||
layout, | ||
tagName: '' | ||
}); |
7 changes: 7 additions & 0 deletions
7
tests/dummy/app/routes/tests/sustain/components/tagless-title/template.hbs
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{{#flexi-layout tagName="layout" class="sustain-test tagless-stuff flexi-layout"}} | ||
<h2 class="sustain-test">I ought to be sustained</h2> | ||
<p>If I was, the component above's ID will be identical.</p> | ||
{{/flexi-layout}} | ||
<div class="tagless-stuff"> | ||
<h3>More Tagless Stuff</h3> | ||
</div> |
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,2 +1,3 @@ | ||
{{#link-to 'tests.sustain-b' id="next-sustain-test-page"}}Go to B{{/link-to}} | ||
{{sustain 'tests/sustain/components/test-title'}} | ||
{{sustain 'tests/sustain/components/test-title'}} | ||
{{sustain 'tests/sustain/components/tagless-title'}} |