Skip to content
This repository has been archived by the owner on Aug 12, 2022. It is now read-only.

Commit

Permalink
remove debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
letmaik committed Apr 1, 2016
1 parent 4961d2b commit 155d0a2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,27 +119,21 @@ export class API {
this.isPaged = true
this.paging = ld.view
this.paging.total = ld.totalItems

console.log(ld.view)
}

if (ld.api && ld.api.type === IriTemplate) {
this.hasUrlTemplate = true
this.urlTemplate = ld.api
console.log('URL template: ' + ld.api.template)

let mappings = ld.api.mapping
for (let mapping of mappings) {
let propId = mapping.property.id
for (let prop in URL_PROPS) {
if (URL_PROPS[prop] === propId) {
console.log('property recognized: ' + propId + ' (variable: ' + mapping.variable + ')')
this.supportedUrlProps.set(propId, mapping.variable)
}
}
}

console.log(ld.api)
}

this._createCapabilities()
Expand Down

0 comments on commit 155d0a2

Please sign in to comment.