-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix bugs introduced by per-block namespaces.
- Loading branch information
1 parent
053ed47
commit 180b416
Showing
9 changed files
with
645 additions
and
42 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
22 changes: 11 additions & 11 deletions
22
packages/@css-blocks/ember-cli/tests/dummy/app/templates/application.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 |
---|---|---|
@@ -1,36 +1,36 @@ | ||
<main> | ||
<h2 class="title">CSS Blocks + Ember Integration Tests</h2> | ||
<h2 block:class="title">CSS Blocks + Ember Integration Tests</h2> | ||
|
||
<nav class="test-nav"> | ||
<nav block:class="test-nav"> | ||
<ul> | ||
<li> | ||
{{#link-to "global-styles" class="test-nav-item"}}Global Styles{{/link-to}} | ||
{{#link-to "global-styles" block:class="test-nav-item"}}Global Styles{{/link-to}} | ||
</li> | ||
<li> | ||
{{#link-to "ember-builtins" class="test-nav-item"}}Ember Builtins{{/link-to}} | ||
{{#link-to "ember-builtins" block:class="test-nav-item"}}Ember Builtins{{/link-to}} | ||
</li> | ||
<li> | ||
{{#link-to "route-block" class="test-nav-item"}}Route Block{{/link-to}} | ||
{{#link-to "route-block" block:class="test-nav-item"}}Route Block{{/link-to}} | ||
</li> | ||
<li> | ||
{{#link-to "app-component" class="test-nav-item"}}App Component Block{{/link-to}} | ||
{{#link-to "app-component" block:class="test-nav-item"}}App Component Block{{/link-to}} | ||
</li> | ||
<li> | ||
{{#link-to "addon-component" class="test-nav-item"}}Addon Component Block{{/link-to}} | ||
{{#link-to "addon-component" block:class="test-nav-item"}}Addon Component Block{{/link-to}} | ||
</li> | ||
<li> | ||
{{#link-to "in-repo-engine" class="test-nav-item"}}In Repo Engine{{/link-to}} | ||
{{#link-to "in-repo-engine" block:class="test-nav-item"}}In Repo Engine{{/link-to}} | ||
</li> | ||
<li> | ||
{{#link-to "in-repo-lazy-engine" class="test-nav-item"}}In Repo Lazy Engine{{/link-to}} | ||
{{#link-to "in-repo-lazy-engine" block:class="test-nav-item"}}In Repo Lazy Engine{{/link-to}} | ||
</li> | ||
<li> | ||
{{#link-to "compositions" class="test-nav-item"}}Compositions{{/link-to}} | ||
{{#link-to "compositions" block:class="test-nav-item"}}Compositions{{/link-to}} | ||
</li> | ||
</ul> | ||
</nav> | ||
|
||
<div id="test-container" class="test-container"> | ||
<div id="test-container" block:class="test-container"> | ||
{{outlet}} | ||
</div> | ||
</main> |
4 changes: 2 additions & 2 deletions
4
packages/@css-blocks/ember-cli/tests/dummy/app/templates/components/app-component.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
40 changes: 20 additions & 20 deletions
40
packages/@css-blocks/ember-cli/tests/dummy/app/templates/compositions.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
4 changes: 2 additions & 2 deletions
4
packages/@css-blocks/ember-cli/tests/dummy/app/templates/ember-builtins.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<div> | ||
{{#link-to "index" class="link-to-helper" id="link-to-helper"}}Inactive Link To Helper{{/link-to}} | ||
{{#link-to "ember-builtins" class="link-to-helper" id="link-to-helper-active"}}Active Link To Helper{{/link-to}} | ||
{{#link-to "index" block:class="link-to-helper" id="link-to-helper"}}Inactive Link To Helper{{/link-to}} | ||
{{#link-to "ember-builtins" block:class="link-to-helper" id="link-to-helper-active"}}Active Link To Helper{{/link-to}} | ||
</div> |
4 changes: 2 additions & 2 deletions
4
packages/@css-blocks/ember-cli/tests/dummy/app/templates/route-block.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
4 changes: 2 additions & 2 deletions
4
...ks/ember-cli/tests/dummy/lib/in-repo-addon/addon/templates/components/addon-component.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
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
Oops, something went wrong.