Code Monkey home page Code Monkey logo

Comments (13)

arnisjuraga avatar arnisjuraga commented on June 9, 2024 3

Let's put stars!

from disableautofill.js.

terrylinooo avatar terrylinooo commented on June 9, 2024

To submit to cdnjs is required having 100 stars on GitHub. (I think jsdeliver has same requirement too) So there is no CDN hosted service for this library currently. Sorry.

from disableautofill.js.

MartinKolarik avatar MartinKolarik commented on June 9, 2024

There are no popularity requirements for jsDelivr, you can use it for any npm package or GitHub repository like this: https://cdn.jsdelivr.net/gh/terrylinooo/jquery.disableAutoFill@semver/ (you might want to fix the release on GitHub though, for some reason v1.2.3 is tagged as "semver", it should be "1.2.3")

from disableautofill.js.

terrylinooo avatar terrylinooo commented on June 9, 2024

Thank you.

Looks like I can use it directly through this URL:
https://cdn.jsdelivr.net/gh/terrylinooo/jquery.disableAutoFill@semver/src/jquery.disableAutoFill.min.js

from disableautofill.js.

cekvenich avatar cekvenich commented on June 9, 2024

Great. But that does not have a version #.
My fear is that it will change and my site will break in production.

Also - it be nice if it was listed in the docs to use the proper one.

from disableautofill.js.

MartinKolarik avatar MartinKolarik commented on June 9, 2024

Version number is "semver" as I mentioned in my comment. Also, jsDelivr URLs never change, even if the source does. Check https://www.jsdelivr.com/features#gh for details.

from disableautofill.js.

cekvenich avatar cekvenich commented on June 9, 2024

We are saying. The same thing. URL stays same, but source changed. That is why version number is needed in url so that does not happen. Like other libs on cdn.

from disableautofill.js.

MartinKolarik avatar MartinKolarik commented on June 9, 2024

Sorry, I should have phrased that differently - jsDelivr files (contents) never change for URLs with @version such as the one above.

from disableautofill.js.

cekvenich avatar cekvenich commented on June 9, 2024

And what is that version for that url?

from disableautofill.js.

MartinKolarik avatar MartinKolarik commented on June 9, 2024

The string "semver". It's most likely a mistake done by @terrylinooo when publishing the package. The release 1.2.3 has a git tag "semver" rather than "1.2.3".

from disableautofill.js.

cekvenich avatar cekvenich commented on June 9, 2024

Can we please fix that?

from disableautofill.js.

terrylinooo avatar terrylinooo commented on June 9, 2024
<script src="https://cdn.jsdelivr.net/npm/disableautofill/src/jquery.disableAutoFill.min.js"></script>

This library has been published to NPM, so we can use it via JsDelivr now.

from disableautofill.js.

cekvenich avatar cekvenich commented on June 9, 2024

That is bad practice. Use this w/ version:
https://cdn.jsdelivr.net/npm/[email protected]/src/jquery.disableAutoFill.min.js

THANKS!

from disableautofill.js.

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.