Unexpected token error in colons after fixture keyword. Can anyone help with this?


#1

import DS from ‘ember-data’;

var address = DS.Model.extend({ house: DS.attr(‘string’), street: DS.attr(‘string’), place: DS.attr(‘string’), landmark: DS.attr(‘string’), city: DS.attr(‘string’), state: DS.attr(‘string’), postalCode: DS.attr(‘string’), contact: DS.hasMany(‘contact’,{async:true}) });

address.reopenClass(FIXTURES:[ { id: ‘1’, house: ‘H01’, street: ‘1’, place: ‘Sector-82’, landmark: ‘Opp. Clock Tower’, city: ‘Noida’, state: ‘Haryana’, postalCode: ‘133023’, contact: [1,2] }, { id: ‘2’, house: ‘H02’, street: ‘1’, place: ‘Sector-82’, landmark: ‘Opp. Clock Tower’, city: ‘Noida’, state: ‘Haryana’, postalCode: ‘133023’, contact: [3,4] }]);

export default address;