mercredi 2 décembre 2015

Error while writing adapters in ember js

import DS from 'ember-data';

export default DS.RESTAdapter.extend({
 namespace :'http://localhost:8078/advanceSpring/service/getReverse.action',
        suffix: '.action',

      pathForType: function(type) {
        return this._super(type) + this.get('suffix');
      }

});

// Getting error while executing code . "Error is unexpected token"




Aucun commentaire:

Enregistrer un commentaire