We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apparently when I did #63, I missed the entire app/ directory......
app/
New syntax with polyfill looks like this:
import computed from 'ember-new-computed'; export default Ember.Component.extend({ fullName: computed('firstName', 'lastName', { get() { return this.get('firstName') + ' ' + this.get('lastName'); }, set(key, newName) { var parts = newName.split(' '); this.setProperties({ firstName: parts[0], lastName: parts[1] }); return newName; } }); });
Getter-only should still use this syntax, just not include a set()
set()
The text was updated successfully, but these errors were encountered:
jayphelps
No branches or pull requests
Apparently when I did #63, I missed the entire
app/
directory......New syntax with polyfill looks like this:
Getter-only should still use this syntax, just not include a
set()
The text was updated successfully, but these errors were encountered: