Skip to content

Commit 55945e3

Browse files
committed
fix errors in app
1 parent f1681d4 commit 55945e3

4 files changed

Lines changed: 8 additions & 3 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import Controller from '@ember/controller';
2+
3+
export default class ApplicationController extends Controller {
4+
addModal() {}
5+
}

test/fixtures/with-telemetry/input/app/templates/application.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
{{/if}}
2929
{{outlet}}
3030

31-
{{#bs-button id="openModal" onClick=(action "addModal")}}Open{{/bs-button}}
31+
{{#bs-button id="openModal" onClick=(action this.addModal)}}Open{{/bs-button}}
3232

3333
{{#if hasModal}}
3434
{{#bs-modal-simple open=modal onHidden=(action "removeModal") title="Dynamic Dialog"}}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<div>this template has no js </div>
2-
<BsButton @type="primary" @onClick={{action "submit"}}>Primary</BsButton>
2+
{{#bs-button type="primary"}}>Primary{{/bs-button}}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<div>this template has no js </div>
2-
<BsButton @type="primary" @onClick={{action "submit"}}>Primary</BsButton>
2+
<BsButton @type="primary">Primary</BsButton>

0 commit comments

Comments
 (0)