Giter VIP home page Giter VIP logo

Comments (6)

ryankirkman avatar ryankirkman commented on May 6, 2024

I've been using the name exactly as provided by jquery. E.g.
http://code.jquery.com/jquery-1.8.0.min.js

On Wed, Aug 22, 2012 at 9:48 PM, Abishek R Srikaanth <
[email protected]> wrote:

The Jquery Reference for version 1.7.2 was
http://cdnjs.cloudflare.com/ajax/libs/jquery/1.7.2/jquery.min.js
and now for 1.8.0 has changed to //
cdnjs.cloudflare.com/ajax/libs/jquery/1.8.0/jquery-1.8.0.min.js

Would it not be easier to maintain in a defined manner?


Reply to this email directly or view it on GitHubhttps://github.com//issues/386.

from cdnjs.

walker avatar walker commented on May 6, 2024

I think that using the version number as the folder name for CDNJS is a better practice

1.x.x/jquery.min.js

from cdnjs.

abishekrsrikaanth avatar abishekrsrikaanth commented on May 6, 2024

I agree with walker as well.

from cdnjs.

walker avatar walker commented on May 6, 2024

Yeah, I agree that @ryankirkman can't backtrack, but I feel like he's done a poor job planning out his CDN & repository. I'm going to have to avoid it from now on I'm afraid.

I built a wordpress plugin to automatically, just before render, swap any and all scripts found in a rendered page with CDNJS versions, but because of the inconsistency in naming conventions between versions and between libraries, there were too many problems and I'm calling it dead.

from cdnjs.

ryankirkman avatar ryankirkman commented on May 6, 2024

You should be using http://cdnjs.com/packages.json to auto generate CDN links.

from cdnjs.

ryankirkman avatar ryankirkman commented on May 6, 2024

Issue fixed in d61b575

from cdnjs.

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.