abuiles / ember-101

https://leanpub.com/ember-cli-101
95 stars 23 forks source link

fixed a syntax error from page 57 missing comma at end of state: DS.attr('string') #45

Closed Gilmoursa closed 8 years ago

Gilmoursa commented 8 years ago

There's a syntax error on page 57.

import DS from 'ember-data'; export default DS.Model.extend({ createdAt: DS.attr('date'), description: DS.attr('string'), notes: DS.attr('string'), state: DS.attr('string') friend: DS.belongsTo('friend') });

should read

import DS from 'ember-data'; export default DS.Model.extend({ createdAt: DS.attr('date'), description: DS.attr('string'), notes: DS.attr('string'), state: DS.attr('string'), friend: DS.belongsTo('friend') });

abuiles commented 8 years ago

Thanks!