common/corpus-common-addon/app/services/lexvo-resolver.js
changeset 305 ff6cf3fc5f40
parent 182 1bcc373adabb
equal deleted inserted replaced
304:20071981ba2a 305:ff6cf3fc5f40
     3 import ResolverService from 'corpus-common-addon/services/resolver-service';
     3 import ResolverService from 'corpus-common-addon/services/resolver-service';
     4 
     4 
     5 export default ResolverService.extend({
     5 export default ResolverService.extend({
     6 
     6 
     7     storeKeyBase: 'lexvo',
     7     storeKeyBase: 'lexvo',
     8     apiPath:  '/api/v1/lexvo/',
     8     apiPath:  '/api/v1/resolvers/lexvo/',
     9     resDocRoot: 'lexvoids',
     9     resDocRoot: 'lexvoids',
    10 
    10 
    11     init() {
    11     init() {
    12         this._super(...arguments);
    12         this._super(...arguments);
    13         console.log("LEXVO", this);
       
    14     },
    13     },
    15 
    14 
    16     processId: function(id) {
    15     processId: function(id) {
    17         var lexvoId = id;
    16         var lexvoId = id;
    18         if(id.startsWith(constants.LEXVO_BASE_URL)) {
    17         if(id.startsWith(constants.LEXVO_BASE_URL)) {