File tree Expand file tree Collapse file tree
latest-node/my-app/app/controllers
local/my-app/app/controllers
min-node/my-app/app/controllers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ export default Controller.extend({
77 return `${ this . firstName } ${ this . lastName } ` ;
88 } ) ,
99
10+ get fullName2 ( ) {
11+ return `${ this . firstName } ${ this . lastName } ` ;
12+ } ,
13+
1014 actions : {
1115 foo ( object ) {
1216 this . doStuff ( object ) ;
Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ export default Ember.Controller.extend({
66 return `${ this . firstName } ${ this . lastName } ` ;
77 } ) . property ( 'firstName' , 'lastName' ) ,
88
9+ fullName2 : computed ( function ( ) {
10+ return `${ this . firstName } ${ this . lastName } ` ;
11+ } ) . volatile ( 'firstName' , 'lastName' ) ,
12+
913 actions : {
1014 foo ( object ) {
1115 Ember . propertyWillChange ( object , 'someProperty' ) ;
Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ export default Controller.extend({
77 return `${ this . firstName } ${ this . lastName } ` ;
88 } ) ,
99
10+ get fullName2 ( ) {
11+ return `${ this . firstName } ${ this . lastName } ` ;
12+ } ,
13+
1014 actions : {
1115 foo ( object ) {
1216 this . doStuff ( object ) ;
You can’t perform that action at this time.
0 commit comments