【第22期】观点:IT 行业加班,到底有没有价值?

jQuery 下载

原创 2015年11月19日 21:41:21

http://jquery.com/download/

Downloading jQuery

Compressed and uncompressed copies of jQuery files are available. The uncompressed file is best used during development or debugging; the compressed file saves bandwidth and improves performance in production. You can also download a sourcemap file for use when debugging with a compressed file. The map file is not required for users to run jQuery, it just improves the developer's debugger experience. As of jQuery 1.11.0/2.1.0 the //# sourceMappingURL comment is not included in the compressed file.

To locally download these files, right-click the link and select "Save as..." from the menu.

linkjQuery 1.x

The jQuery 1.x line had major changes as of jQuery 1.9.0. We strongly recommend that you also use the jQuery Migrate plugin if you are upgrading from pre-1.9 versions of jQuery or need to use plugins that haven't yet been updated. Read the jQuery 1.9 Upgrade Guide and the jQuery 1.9 release blog post for more information.

Download the compressed, production jQuery 1.11.3

Download the uncompressed, development jQuery 1.11.3

Download the map file for jQuery 1.11.3

jQuery 1.11.3 release notes

linkjQuery 2.x

jQuery 2.x has the same API as jQuery 1.x, but does not support Internet Explorer 6, 7, or 8. All the notes in the jQuery 1.9 Upgrade Guide apply here as well. Since IE 8 is still relatively common, we recommend using the 1.x version unless you are certain no IE 6/7/8 users are visiting the site. Please read the 2.0 release notes carefully.

Download the compressed, production jQuery 2.1.4

Download the uncompressed, development jQuery 2.1.4

Download the map file for jQuery 2.1.4

jQuery 2.1.4 release notes

linkDownloading jQuery using Bower

jQuery is registered as a package with Bower. You can install the latest version of jQuery with the command:

1
bower install jquery

This will install jQuery to Bower's install directory, the default being bower_components. Within bower_components/jquery/dist/ you will find an uncompressed release, a compressed release, and a map file.

The jQuery Bower package contains additional files besides the default distribution. In most cases you can ignore these files, however if you wish to download the default release on its own you can use Bower to install jQuery from one of the above urls instead of the registered package. For example, if you wish to install just the compressed jQuery 2.1.0, you can install just that file with the following command:

1
bower install http://code.jquery.com/jquery-2.1.4.min.js

linkjQuery Migrate Plugin

We have created the jQuery Migrate plugin to simplify the transition from older versions of jQuery. The plugin restores deprecated features and behaviors so that older code will still run properly on jQuery 1.9 and later. Use the uncompressed development version to diagnose compatibility issues, it will generate warnings on the console that you can use to identify and fix problems. Use the compressed production version to simply fix compatibility issues without generating console warnings.

Download the compressed, production jQuery Migrate 1.2.1

Download the uncompressed, development jQuery Migrate 1.2.1

linkCross-Browser Testing with jQuery

Be sure to test web pages that use jQuery in all the browsers you want to support. The modern.IE site makes available virtual machines for testing many different versions of Internet Explorer. Older versions of other browsers can be found at oldversion.com.

linkjQuery Pre-Release Builds

The jQuery team is constantly working to improve the code. Each commit to the Github repo generates a work-in-progress version of the code that we update on the jQuery CDN. These versions are sometimes unstable and not suitable for production sites. We recommend they be used to determine whether a bug has already been fixed when reporting bugs against released versions, or to see if new bugs have been introduced. There are two versions, one for the compat branch (supports IE 8) and one for the master branch (not for use with old IE).

Download the work-in-progress jQuery Compat build

Download the work-in-progress jQuery build

linkUsing jQuery with a CDN

CDNs can offer a performance benefit by hosting jQuery on servers spread across the globe. This also offers an advantage that if the visitor to your webpage has already downloaded a copy of jQuery from the same CDN, it won't have to be re-downloaded.

linkjQuery's CDN provided by MaxCDN

To use the jQuery CDN, just reference the file directly from http://code.jquery.com in the script tag:

1
2
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script>

Starting with jQuery 1.9, sourcemap files are available on the jQuery CDN as well. If compressed files are included directly from the CDN as shown above, sourcemap-aware browsers such as Google Chrome will use them when you enable sourcemap support.

To see all available files and versions, visit http://code.jquery.com

linkOther CDNs

The following CDNs also host compressed and uncompressed versions of jQuery releases. Starting with jQuery 1.9 they may also hostsourcemap files; check the site's documentation.

Note that there may be delays between a jQuery release and its availability there. Please be patient, they receive the files at the same time the blog post is made public. Beta and release candidates are not hosted by these CDNs.

linkAbout the Code

jQuery is provided under the MIT license.

The code is hosted and developed in the jQuery GitHub repository. If you've spotted some areas of code that could be improved, please feel free to discuss it on the Developing jQuery Core Forum. If you'd like to participate in developing jQuery, peruse our contributor site for more information.

To find and download plugins developed by jQuery contributors, please visit the Plugins site. Plugin authors are responsible for maintenance of their plugins. Feedback on plugins should be directed to the plugin author, not the jQuery team.

linkBuild from Git

Note: To just use the latest work-in-progress version of jQuery, please try the jQuery Pre-Release Build described above.

All source code is kept under Git revision control, which you can browse online. The repository's README has more information on building and testing your own jQuery, as well as instructions on creating a custom build that excludes some APIs to reduce file size.

If you have access to Git, you can connect to the repository here:

1
git clone git://github.com/jquery/jquery.git

You can also check out and build a specific version of jQuery from GitHub:

1
2
git clone git://github.com/jquery/jquery.git
git checkout 1.2.6

The README file for a specific version will have instructions for building that version, as the process has changed over time.


linkPast Releases

All past releases can be found on the jQuery CDN.


版权声明:本文为博主原创文章,未经博主允许不得转载。 举报

相关文章推荐

jquery下载,实时更新jquery1.2到最新3.2.1所有版本下载

(注!jquery-2.0以上版本不再支持IE 6/7/8) 百度引用地址 (推荐目前最稳定的,不会出现延时打不开情况)  www.jq22.com/jquery-info122 jqu...

jquery各个版本下载

所有jquery的版本均可下载 下载网站: http://hovertree.com/h/bjaf/ati6k7yk.htm

jQuery方法源码解析--jQuery($)方法(一)

jQuery方法源码解析--jQuery($)方法 注: 1.本文分析的代码为jQuery.1.11.1版本,在官网上下载未压缩版即可 2.转载请注明出处 jQuery方法: 这个方法大家都不陌...

jQuery----各版本

jQuery是一套跨浏览器的JavaScript库,简化HTML与JavaScript之间的操作。由John Resig在2006年1月的BarCamp NYC上发布第一个版本。目前是由 Dave...
  • damys
  • damys
  • 2013-03-15 20:25
  • 4002

jQuery自定义插件

jquery插件的种类: 1.对象级别的插件开发,即给jQuery对象添加方法,封装对象方法的插件,如:parent()、appendTo() 2.一种是类级别的插件开发,即给jQuery添加新的全局...

jQuery中$(function(){})与(function($){})(jQuery)、$(document).ready(function(){})等的区别详细讲解

1、(function($) {…})(jQuery); 1)、原理: 这实际上是匿名函数,如下: function(arg){…} 这就定义了一个匿名函数,参数为arg 而...

浅析jQuery整体框架与实现(上)

前言 jQuery整体框架甚是复杂,也不易读懂,这几日一直在研究这个笨重而强大的框架。jQuery的总体架构可以分为:入口模块、底层模块和功能模块。这里,我们以jquery-1.7.1为例进行分...
  • Tsite
  • Tsite
  • 2017-03-02 16:43
  • 286

Jquery面试题整合

来自棱镜学院-在线IT教育     www.prismcollege.com 一、Jquery测试题 下面哪种不是jquery的选择器?(单选) A、基本选择器 B、后代选择器 C、类选择器...

引用网络jQuery地址

jQuery 引用地址{包括jquery和google提供的地址}, 节省你不必要的流量 你可以使用这句代码读取jQuery的最新版本的代码文件。jquery官方的引用地址:示例:1、有效地址: ...

JQuery的优势介绍

1、轻量级    JQuery非常轻巧,采用Dean Edwards编写的Packer压缩后,大小不到30KB,如果使用Min版并且在服务器端启用Gzip压缩后,大小只有18KB。   2、强大的选择...
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)