Code Monkey home page Code Monkey logo

Comments (8)

AnanthParimi avatar AnanthParimi commented on June 26, 2024 1

Just installed the newer version. It works perfectly.

Appreciate it! Thanks for quick replies and action.

Also from version 3.x, having only annotorious will work?

from annotorious-openseadragon.

rsimon avatar rsimon commented on June 26, 2024

Yes, I believe import OpenSeadragon from 'openseadragon'; should fix this.

It's weird that no-one has had problems with this earlier. The only setup where this can work is in applications that import OpenSeadragon via <script> tag. (Because then OpenSeadragon will be a global.) I believe that's what I did in all my demos. (I never used the feature in a 'real' app so far myself I think...) You might simply be the first person to actually use that with a bundler ;-)

from annotorious-openseadragon.

rsimon avatar rsimon commented on June 26, 2024

P.S.: in case you want to send a PR, please submit it against the 2.x branch, not the main branch. The main branch is now frozen, as it will switch to the v.3 branch soon. Critical updates, minor fixes and general maintenance of 2.7.x will happen on the v2.x branch from now on.

from annotorious-openseadragon.

AnanthParimi avatar AnanthParimi commented on June 26, 2024

Thanks man. I just made a pull request on 2.6.x branch if that's okay cause that was the only v2.x I could find in annotorious-openseadragon. The link you provided in the earlier response was for annotorious.

Also I just wanted to appreciate how much this repo has helped me. If I made the PR in a wrong place please tell me where I should make the PR.

from annotorious-openseadragon.

AnanthParimi avatar AnanthParimi commented on June 26, 2024

Is there any way I can use the updated code in my application before you merge the pull request. I tried npm install of my forked version, but to vain.

from annotorious-openseadragon.

rsimon avatar rsimon commented on June 26, 2024

Thanks for the PR! Ah, about the branch: sorry my fault, I got confused :-D The 3.x branch exists in the annotorious repository, but not this one. (From version 3.x onwards, there will only be one monorepo for both versions. This repo will remain open for critical fixes and such, but otherwise will be de-fact deprecated.) I redirected your PR to the main branch & merged.

And thanks for the nice feedback - I really appreciate it!

About using the update code yourself: I'll try to push a new release with the fix later today or tomorrow. Meanwhile, you could run npm install and ./build.sh in your fork. (If you're on Mac or Linux. The build script might need tweaking on Windows.) Then you'd have to change the package.json in your own project to point to your own local fork rather than the last published version on the npm registry.

Looks something like this:

"dependencies": {
  "@recogito/annotorious-openseadragon": "file:../relative/or/absolute-path/to/your/fork"
}

from annotorious-openseadragon.

rsimon avatar rsimon commented on June 26, 2024

The new release with your PR included is published! Version 2.7.13.

from annotorious-openseadragon.

rsimon avatar rsimon commented on June 26, 2024

Annotorious 3 will be organized a bit differently. There will still be separate packages for the vanilla JS versions of Annotorious standard (@annotorious/annotorious) and OpenSeadragon (@annotorious/openseadragon).

Then there will be packages for framework bindings specifically (@annotorious/react and @annotorious/svelte - although I hope the community will contribute additional ones). The framework packages will include bindings for both versions.

All those modules will be maintained in a single repo (this one), however, not in separate repos.

from annotorious-openseadragon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.