Skip to content

Commit

Permalink
replace computed prototype extension with property (emberjs#496)
Browse files Browse the repository at this point in the history
replace computed prototype extension with property
  • Loading branch information
rwjblue committed Jan 3, 2020
2 parents c77af8a + c9eddf5 commit a5c2b45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/ember/v3/property-function-prototype-extension.md
Expand Up @@ -30,7 +30,7 @@ let Person = EmberObject.extend({

fullName: function() {
return `${this.firstName} ${this.lastName}`;
}.computed('firstName', 'lastName')
}.property('firstName', 'lastName')
});

let client = Person.create();
Expand Down

0 comments on commit a5c2b45

Please sign in to comment.