Hi, I try to learn emberjs and stumbled over an error in the example of the computed properties section (ironMan, ‘Computed properties in action’ example). It always shows the error “Property ‘fullName’ of object [object Object] is not a function” when I call ironMan.fullName() - Why is that? Please see http://jsbin.com/UnevOVU/3/edit
Because you should access properties with a
get (or with dot syntax in handlebars templates). See http://jsbin.com/UnevOVU/11/edit
This sort of question would be better asked on stackoverflow, also you might ant to use a newer version of ember.
Thanks for your help, gunn. After i wrote the question, I discovered that this was not quite the right forum, but I didn’t find a button to delete it again. Sorry and best regards!