Skip to content

Commit b83bddc

Browse files
committed
[docs.jquery.com] include most of Downloading jQuery page (still need resolution for release notes from mediawiki)
1 parent 8056acd commit b83bddc

File tree

1 file changed

+150
-0
lines changed

1 file changed

+150
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
---
2+
title : Downloading jQuery
3+
status: needswork
4+
editrequired: 2
5+
attribution: jQuery Docs
6+
---
7+
8+
## About The Code
9+
10+
The code itself is written rather cleanly in an attempt to self-document. If
11+
you've spotted some areas of code that could be improved, please feel free to
12+
discuss it on [the Development forum](http://forum.jquery.com/developing-jquery-core). All input is greatly appreciated!
13+
14+
All of the code is available in two formats:
15+
16+
* Compressed (which allows you to have a significantly smaller file size) and
17+
* Uncompressed (good for debugging and to understand what is behind the magic).
18+
19+
If you're interested in downloading [plugins](http://plugins.jquery.com/)
20+
developed by jQuery contributors, please visit the
21+
[Plugins][http://plugins.jquery.com/) page.
22+
23+
jQuery is provided under the [MIT and GPL licenses](http://jquery.org/license/).
24+
25+
## CDN Hosted jQuery
26+
27+
A number of large enterprises provide hosted copies of jQuery on existing
28+
[CDNs](http://en.wikipedia.org/wiki/Content_delivery_network) networks that are
29+
available for public use. Below are links to the CDN-hosted copies of jQuery
30+
that you may hotlink to.
31+
32+
* Google Ajax API CDN
33+
* [http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js](http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js)
34+
* [Google Ajax CDN Documentation](http://code.google.com/apis/ajaxlibs/documentation/index.html#jquery)
35+
* Microsoft CDN
36+
* [http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.6.2.min.js](http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.6.2.min.js)
37+
* [Ajax CDN Announcement](http://weblogs.asp.net/scottgu/archive/2009/09/15/announcing-the-microsoft-ajax-cdn.aspx), [Microsoft Ajax CDN Documentation](http://www.asp.net/ajax/cdn)
38+
* jQuery CDN (via [Media Temple](http://mediatemple.net))
39+
* [http://code.jquery.com/jquery-1.6.2.min.js](http://code.jquery.com/jquery-1.6.2.min.js) Minified version
40+
* [http://code.jquery.com/jquery-1.6.2.js](http://code.jquery.com/jquery-1.6.2.js) Source version
41+
42+
## Download jQuery
43+
44+
This is the recommended version of jQuery to use for your application. The code in here should be stable and usable in all modern browsers.
45+
46+
The minified versions, while having a larger file size than the packed versions (note: packed version is not available in current release), are generally the best versions to use on production deployments. The packed versions require non-trivial client-side processing time to uncompress (unpack) the code whereas the minified versions do not. The packed versions of jQuery will take less time to download than the minified or uncompressed versions; however, each time the library is loaded (initially or from the browser cache) it will need to be uncompressed which will cause a non-trivial delay in the execution of any jQuery code each time it is loaded.
47+
48+
## Current Release
49+
* **[ 1.6.2 (Release Notes) ]( http://blog.jquery.com/2011/06/30/jquery-162-released/ )**<br/> [ Minified ]( http://code.jquery.com/jquery-1.6.2.min.js ), [ Uncompressed ]( http://code.jquery.com/jquery-1.6.2.js )
50+
51+
## Past Releases
52+
53+
* **[ 1.6.1 (Release Notes)](http://blog.jquery.com/2011/05/12/jquery-1-6-1-released/)**<br/>[Minified](http://code.jquery.com/jquery-1.6.1.min.js), [ Uncompressed ]( http://code.jquery.com/jquery-1.6.1.js )
54+
* **[ 1.6 (Release Notes) ]( http://blog.jquery.com/2011/05/03/jquery-16-released/ )**<br/> [ Minified ]( http://code.jquery.com/jquery-1.6.min.js ), [ Uncompressed ]( http://code.jquery.com/jquery-1.6.js )
55+
* **[ 1.5.2 (Release Notes) ]( http://blog.jquery.com/2011/03/31/jquery-152-released/ )**<br/> [ Minified ]( http://code.jquery.com/jquery-1.5.2.min.js ), [ Uncompressed ]( http://code.jquery.com/jquery-1.5.2.js )
56+
* **[ 1.5.1 (Release Notes) ]( http://blog.jquery.com/2011/02/24/jquery-151-released/ )**<br/> [ Minified ]( http://code.jquery.com/jquery-1.5.1.min.js ), [ Uncompressed ]( http://code.jquery.com/jquery-1.5.1.js )<br>Documentation: [ Changelog ]( http://api.jquery.com/category/version/1.5.1/ )
57+
* **[ 1.5 (Release Notes) ]( http://blog.jquery.com/2011/01/31/jquery-15-released/ )**<br/> [ Minified ]( http://code.jquery.com/jquery-1.5.min.js ), [ Uncompressed ]( http://code.jquery.com/jquery-1.5.js )<br>Documentation: [ Changelog ]( http://api.jquery.com/category/version/1.5/ )
58+
* **[ 1.4.4 (Release Notes) ]( http://blog.jquery.com/2010/11/11/jquery-1-4-4-release-notes/ )**<br/> [ Minified ]( http://code.jquery.com/jquery-1.4.4.min.js ), [ Uncompressed ]( http://code.jquery.com/jquery-1.4.4.js )<br>Documentation: [ Changelog ]( http://api.jquery.com/category/version/1.4.4/ )
59+
* **[ 1.4.3 (Release Notes) ]( http://blog.jquery.com/2010/10/16/jquery-143-released/ )**<br/> [ Minified ]( http://code.jquery.com/jquery-1.4.3.min.js ), [ Uncompressed ]( http://code.jquery.com/jquery-1.4.3.js )<br>Documentation: [ Changelog ]( http://api.jquery.com/category/version/1.4.3/ )
60+
* **[ 1.4.2 (Release Notes) ]( http://blog.jquery.com/2010/02/19/jquery-142-released/ )**<br/> [ Minified ]( http://code.jquery.com/jquery-1.4.2.min.js ), [ Uncompressed ]( http://code.jquery.com/jquery-1.4.2.js )<br>Documentation: [ Changelog ]( http://api.jquery.com/category/version/1.4.2/ )
61+
* **[ 1.4.1 (Release Notes) ]( http://jquery14.com/day-12/jquery-141-released )**<br/> [ Minified ]( http://code.jquery.com/jquery-1.4.1.min.js ), [ Uncompressed ]( http://code.jquery.com/jquery-1.4.1.js )<br>Documentation: [ Changelog ]( http://api.jquery.com/category/version/1.4.1/ ), [ Visual Studio ]( http://code.jquery.com/jquery-1.4.1-vsdoc.js )
62+
* **[ 1.4 (Release Notes) ]( http://jquery14.com/day-01/jquery-14 )**<br/> [ Minified ]( http://code.jquery.com/jquery-1.4.min.js ), [ Uncompressed ]( http://code.jquery.com/jquery-1.4.js )<br>Documentation: [ Changelog ]( http://api.jquery.com/category/version/1.4/ )
63+
64+
<!--
65+
* **[[Release:jQuery_1.3.2|1.3.2 (Release Notes)]]**<br/> [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.3.2.min.js Minified], [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.3.2.js Uncompressed]<br>[http://code.google.com/apis/ajaxlibs/documentation/index.html#jquery Google's AJAX Library API/CDN]: [http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js Minified]<br>Documentation: [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.3.2-vsdoc2.js Visual Studio]
66+
* **[[Release:jQuery_1.3.1|1.3.1 (Release Notes)]]**<br/> [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.3.1.min.js Minified], [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.3.1.js Uncompressed]<br>Documentation: [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.3.1-vsdoc.js Visual Studio]
67+
* **[[Release:jQuery_1.3|1.3 (Release Notes)]]**<br/> [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.3.min.js Minified], [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.3.js Uncompressed]<br>Documentation: [http://api.jquery.com/category/version/1.3/ Changelog], [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.3-vsdoc.js Visual Studio]
68+
* **[[Release:jQuery_1.2.6|1.2.6 (Release Notes)]]**<br/> [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.6.min.js Minified], [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.6.pack.js Packed], [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.6.js Uncompressed]<br>Documentation: [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.6-vsdoc.js Visual Studio]
69+
* **[[Release:jQuery_1.2.5|1.2.5 (Release Notes)]]**<br/> [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.5.min.js Minified], [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.5.pack.js Packed], [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.5.js Uncompressed]
70+
* **[[Release:jQuery_1.2.4|1.2.4 (Release Notes)]]**<br/> [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.4.min.js Minified], [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.4.pack.js Packed], [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.4.js Uncompressed]
71+
* **[[Release:jQuery_1.2.3|1.2.3 (Release Notes)]]**<br/> [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.3.min.js Minified], [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.3.pack.js Packed], [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.3.js Uncompressed]
72+
* **[[Release:jQuery_1.2.2|1.2.2 (Release Notes)]]**<br/> [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.2.min.js Minified], [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.2.pack.js Packed], [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.2.js Uncompressed]
73+
* **[[Release:jQuery_1.2.1|1.2.1 (Release Notes)]]**<br/> [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.1.min.js Minified], [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.1.pack.js Packed], [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.1.js Uncompressed]
74+
* **[[Release:jQuery_1.2|1.2 (Release Notes)]]**<br/> [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.min.js Minified], [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.pack.js Packed], [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.js Uncompressed]
75+
* **[http://jquery.com/blog/2007/08/24/jquery-114-faster-more-tests-ready-for-12/ 1.1.4]**<br/> [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.1.4.pack.js Compressed], [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.1.4.js Uncompressed]
76+
* **[http://jquery.com/blog/2007/07/05/jquery-1131/ 1.1.3.1]**<br/> [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.1.3.1.pack.js Compressed], [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.1.3.1.js Uncompressed]
77+
* **[http://jquery.com/blog/2007/07/01/jquery-113-800-faster-still-20kb/ 1.1.3]**<br/> [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.1.3.pack.js Compressed], [http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.1.3.js Uncompressed]
78+
* [http://jquery.com/blog/2007/02/27/jquery-112/ **1.1.2**]<br/> [http://code.jquery.com/jquery-1.1.2.pack.js Compressed], [http://code.jquery.com/jquery-1.1.2.js Uncompressed]
79+
* [http://jquery.com/blog/2007/01/22/jquery-111/ **1.1.1**]<br/> [http://code.jquery.com/jquery-1.1.1.pack.js Compressed], [http://code.jquery.com/jquery-1.1.1.js Uncompressed]
80+
* [http://jquery.com/blog/2007/01/14/jquery-birthday-11-new-site-new-docs/ **1.1**]<br/> [http://code.jquery.com/jquery-1.1.pack.js Compressed], [http://code.jquery.com/jquery-1.1.js Uncompressed]
81+
* [http://jquery.com/blog/2006/12/12/jquery-104/ **1.0.4**]<br/> [http://code.jquery.com/jquery-1.0.4.pack.js Compressed], [http://code.jquery.com/jquery-1.0.4.js Uncompressed]
82+
* [http://jquery.com/blog/2006/10/27/jquery-103/ **1.0.3**]<br/> [http://code.jquery.com/jquery-1.0.3.pack.js Compressed], [http://code.jquery.com/jquery-1.0.3.js Uncompressed]
83+
* [http://jquery.com/blog/2006/10/09/jquery-102/ **1.0.2**]<br/> [http://code.jquery.com/jquery-1.0.2.pack.js Compressed], [http://code.jquery.com/jquery-1.0.2.js Uncompressed]
84+
* [http://jquery.com/blog/2006/08/31/jquery-101/ **1.0.1**]<br/> [http://code.jquery.com/jquery-1.0.1.pack.js Compressed], [http://code.jquery.com/jquery-1.0.1.js Uncompressed]
85+
* [http://jquery.com/blog/2006/08/26/jquery-10/ **1.0**]<br/> [http://code.jquery.com/jquery-1.0.pack.js Compressed]
86+
-->
87+
88+
## jQuery Git - An Instant WIP Build For Testing
89+
90+
This work-in-progress build (known as jQuery Git) is generated once a minute
91+
from the [ jQuery Git repository ]( http://github.com/jquery/jquery ). It is
92+
provided as a convenience for anyone that wants to help test changes in the
93+
next version of jQuery.
94+
95+
When reporting issues with WIP builds of jQuery, please make sure you include
96+
the date the snapshot was generated (it is listed at the top of the file).
97+
98+
Linking to WIP builds directly from the CDN is not advised, as the file is
99+
constantly refreshed and will change from minute to minute as new commits are
100+
made to the repository.
101+
102+
**WARNING:** Do **NOT** use jQuery Git in a production system or live
103+
application! It is not tested. It is not stable. It will probably blow up on
104+
you unexpectedly. You have been warned! If in doubt, stop and use the
105+
[current release](#Current_Release).
106+
107+
* [ jquery-git.js ](http://code.jquery.com/jquery-git.js) - Uncompressed, work-in-progress build
108+
109+
## Build From Git
110+
**Note:** The following is quite advanced. If you wish to just use a more-recent version of jQuery, please try the WIP build.
111+
112+
All source code is kept under Git revision control, which you can [ browse online ]( http://github.com/jquery/jquery ). There's a download link available for any file or directory, if you only want to download a portion of the jQuery code.
113+
114+
If you have access to Git, you can connect to the repository here:
115+
116+
git clone git://github.com/jquery/jquery.git
117+
118+
You can also check out a specific version of jQuery from GitHub at:
119+
120+
git clone git://github.com/jquery/jquery.git
121+
git checkout <version>
122+
e.g. git checkout 1.2.6
123+
124+
If you want to build your own copy of jQuery from the Git repository, you will need to build it.
125+
126+
**Note:** The jQuery UI code is in its own Git repository:
127+
git clone git://github.com/jquery/jquery-ui.git
128+
129+
## Build Requirements
130+
131+
jQuery currently requires the following components to be installed:
132+
133+
* A build system (either <code>make</code> or <code>ant</code> works):
134+
** make: Available on most Unix-based system (Unix, BSD, OSX, Cygwin)
135+
** ant: Available on any platform with JDK and ANT installed
136+
* java: A copy of Java, version 1.6.0 or later (required to build the minified version of jQuery).
137+
138+
** Build Process **
139+
140+
You will now need to use the build system that you chose previously - either <code>make</code> or <code>ant</code>.
141+
142+
#### If you're using make:
143+
144+
* **To create jQuery:** <code>make</code>
145+
** This will create jquery.js and jquery.min.js in the dist directory
146+
147+
#### If you're using ant:
148+
* **To create jQuery:** <code>ant</code>
149+
** This will create jquery.js and jquery.min.js in the dist directory
150+

0 commit comments

Comments
 (0)