Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SimpleAnnotationServerV2Adapter.js #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rchavez-neu
Copy link

Using SimpleAnnotationServerV2Adapter.js with Mirador 3.1.1. and mirador-annotation plugin 0.5.0, it appears that the V3 annotation structure has changed slightly. This causes line 80 (full: v3anno.target.source.id) of SimpleAnnotationServerV2Adapter.js not to fucntion properly -- the "full" JSON key will not have a canvadIS URI value.

changing line 80: full: v3anno.target.source.id
to: full: v3anno.target.source

fixes the issue and enables SimpleAnnotationServerV2Adapter.js to output the correct canvasID s

Using SimpleAnnotationServerV2Adapter.js with Mirador 3.1.1. and mirador-annotation plugin 0.5.0, it appears that the V3 annotation structure has changed slightly.  This causes line 80 (full: v3anno.target.source.id) of SimpleAnnotationServerV2Adapter.js not to fucntion properly.

changing line 80: full: v3anno.target.source.id
to: full: v3anno.target.source

fixes the issue and enables SimpleAnnotationServerV2Adapter.js to output the correct canvasID s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant