This will not work this way, since Amber has to do some of his magic. I looked at the source of Ember and found this :
// define a computed property Ember.defineProperty(contact, 'fullName', Ember.computed(function() { return this.firstName+' '+this.lastName; }).property('firstName', 'lastName')); @method defineProperty @for Ember @param {Object} obj the object to define this property on. This may be a prototype. @param {String} keyName the name of the property @param {Ember.Descriptor} [desc] an instance of `Ember.Descriptor` (typically a computed property) or an ES5 descriptor. You must provide this or `data` but not both. @param {anything} [data] something other than a descriptor, that will become the explicit value of this property.
So, in your case, the following should work:
Ember.defineProperty(this, 'myComputed', Ember.computed(function() { return "funky"; }).property());
source share