最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - jQuery 1.11.1 or jQuery 3.1.0? - Stack Overflow

programmeradmin1浏览0评论

The jQuery download page remends version 3.1.0, but jQuery latest is version 1.11.1. Did the developers not change the latest version, or is 1.11.1 the latest version?

Also, can I get jQuery 1.11.1 API? Just wondering...

The jQuery download page remends version 3.1.0, but jQuery latest is version 1.11.1. Did the developers not change the latest version, or is 1.11.1 the latest version?

Also, can I get jQuery 1.11.1 API? Just wondering...

Share Improve this question asked Aug 25, 2016 at 23:15 Carson MorganCarson Morgan 511 silver badge5 bronze badges 2
  • Also, can I get jQuery 1.11.1 API? - isn't that the one in your link? seems the "latest" link you posted is years old - maybe the devs at jquery don't even know it's still there – Jaromanda X Commented Aug 25, 2016 at 23:19
  • Possibly, and I never linked 1.11.1 API. jQuery does NOT have inline API – Carson Morgan Commented Aug 26, 2016 at 22:53
Add a ment  | 

1 Answer 1

Reset to default 6

As Kaleb has said, 3.1.0 is newer than 1.11.1. And to answer your first question.

Did the developers not change the latest version?

From JQuery blog which can be found here:

The jquery-latest.js and jquery-latest.min.js files were meant to provide a simple way to download the latest released version of jQuery core. Instead, some developers include this version directly in their production sites, exposing users to the risk of a broken site each time a new version of jQuery is released.

To mitigate the risk of “breaking the web”, the jQuery team decided back in 2013 that jquery-latest.js could not be upgraded to the 2.0 branch even though that is technically the latest version. There would just be too many sites that would mysteriously stop working with older versions of Internet Explorer, and many of those sites may not be maintained today.

As jQuery adoption has continued to grow, even that safeguard seems insufficient to protect against careless use of http://code.jquery./jquery-latest.js. So we have decided to stop updating this file, as well as the minified copy, keeping both files at version 1.11.1 forever.

发布评论

评论列表(0)

  1. 暂无评论