Closed dnoneill closed 2 years ago
Ok, weird. Doesn't seem to happen in the default setup. Can you say a bit about yours? Are you using script tag imports or npm? If script: in what order are you importing? Are using it with OSD v3.x?
I confirm this. First of all, if you click on the release link you will see something weird:
This is broken:
<script src="https://cdnjs.cloudflare.com/ajax/libs/openseadragon/3.1.0/openseadragon.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@recogito/annotorious-openseadragon@2.7.5/dist/openseadragon-annotorious.min.js"></script>
However, this works:
<script src="https://cdnjs.cloudflare.com/ajax/libs/openseadragon/3.1.0/openseadragon.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@recogito/annotorious-openseadragon@2.7.6/dist/openseadragon-annotorious.min.js"></script>
@rsimon The library I used was the release in the screenshot that I downloaded and loaded. I use script tags and use the order that I used before which is openseadragon, annotorious, openseadragon-annotorious
Yikes - sorry for this. Now I remember... ;-) Yes, I managed to build & release v2.7.5 with a broken build config. I did fix the bug, and pushed v2.7.6 to the npm registry (and the CDN). But then forgot to publish a ZIP package on GitHub. (Lesson learned: never do this stuff late at night...)
So as an immediate fix: you can pull the latest version - which is actuall v2.7.6 now - from the CDN here:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/annotorious-openseadragon@2.7.6/dist/annotorious.min.css">
<!-- JS -->
<script src="https://cdn.jsdelivr.net/npm/@recogito/annotorious-openseadragon@2.7.6/dist/openseadragon-annotorious.min.js"></script>
I'll roll a GitHub release for v2.7.6, too, unpublish the broken v2.7.5, and close the issue when that's done.
Cheers, thanks for reporting & sorry for the inconvenience!
When trying to load the newest release the following error occurs.