Skip to content

Commit

Permalink
Update fixtures to match new expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
lolmaus committed Dec 4, 2023
1 parent d5768b3 commit d40f81d
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Controller from '@ember/controller';
import { action } from '@ember/object';

export default class ApplicationController extends Controller {
addModal() {}
@action addModal() {}
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<div>this template has no js </div>
{{#bs-button type="primary"}}>Primary{{/bs-button}}
<BsButton @type="primary">Primary</BsButton>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import Controller from '@ember/controller';
import { action } from '@ember/object';

export default class ApplicationController extends Controller {
@action addModal() {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@
</BsNav>
</div>
<div class="col-sm-8 col-sm-pull-4 col-md-9 col-md-pull-3">
{{utils/bee-bop}}
{{-wat-wat}}
{{utils/-wat-wat}}
{{(utils/bee-bop)}}
{{(-wat-wat)}}
{{(utils/-wat-wat)}}
{{#if this.isDetailPage}}
<h1>
{{currentComponent.title}}
</h1>
<p class="lead">
{{currentComponent.description}}
</p>
{{api-reference component=this.currentComponent}}
<ApiReference @component={{this.currentComponent}} />
{{/if}}
{{outlet}}

<BsButton @id="openModal" @onClick={{action "addModal"}}>Open</BsButton>
<BsButton @id="openModal" @onClick={{action this.addModal}}>Open</BsButton>

{{#if hasModal}}
<BsModalSimple @open={{modal}} @onHidden={{action "removeModal"}} @title="Dynamic Dialog">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<button>
{{titleize "string helpers for ember"}}
{{(titleize "string helpers for ember")}}
</button>
{{biz-baz canConvert="no" why="helper" where="local"}}
{{(biz-baz canConvert="no" why="helper" where="local")}}

0 comments on commit d40f81d

Please sign in to comment.