File tree Expand file tree Collapse file tree
test/fixtures/with-telemetry Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import Controller from '@ember/controller' ;
2+ import { action } from '@ember/object' ;
23
34export default class ApplicationController extends Controller {
4- addModal ( ) { }
5+ @ action addModal ( ) { }
56}
Original file line number Diff line number Diff line change 11<div >this template has no js </div >
2- {{ #bs-button type =" primary" }} > Primary{{ /bs-button }}
2+ {{ #bs-button type =" primary" }} Primary{{ /bs-button }}
Original file line number Diff line number Diff line change 1+ import Controller from '@ember/controller' ;
2+ import { action } from '@ember/object' ;
3+
4+ export default class ApplicationController extends Controller {
5+ @action addModal ( ) { }
6+ }
Original file line number Diff line number Diff line change 1414 </BsNav >
1515 </div >
1616 <div class =" col-sm-8 col-sm-pull-4 col-md-9 col-md-pull-3" >
17- {{ utils/bee-bop }}
18- {{ -wat-wat }}
19- {{ utils/-wat-wat }}
17+ {{ ( utils/bee-bop ) }}
18+ {{ ( -wat-wat ) }}
19+ {{ ( utils/-wat-wat ) }}
2020 {{ #if this.isDetailPage }}
2121 <h1 >
2222 {{ currentComponent.title }}
2323 </h1 >
2424 <p class =" lead" >
2525 {{ currentComponent.description }}
2626 </p >
27- {{ api-reference component =this.currentComponent }}
27+ < ApiReference @ component ={{ this.currentComponent }} />
2828 {{ /if }}
2929 {{ outlet }}
3030
31- <BsButton @id =" openModal" @onClick ={{ action " addModal" }} >Open</BsButton >
31+ <BsButton @id =" openModal" @onClick ={{ action this. addModal}} >Open</BsButton >
3232
3333 {{ #if hasModal }}
3434 <BsModalSimple @open ={{ modal }} @onHidden ={{ action " removeModal" }} @title =" Dynamic Dialog" >
Original file line number Diff line number Diff line change 11<button >
2- {{ titleize " string helpers for ember" }}
2+ {{ ( titleize " string helpers for ember" ) }}
33</button >
4- {{ biz-baz canConvert =" no" why =" helper" where =" local" }}
4+ {{ ( biz-baz canConvert =" no" why =" helper" where =" local" ) }}
You can’t perform that action at this time.
0 commit comments