github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

jquery / jquery

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 1,522
    • 149
  • Source
  • Commits
  • Network (149)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (3)
    • master ✓
    • mobile
    • omgrequire
  • Tags (40)
    • 1.4rc1
    • 1.4a2
    • 1.4a1
    • 1.4.1
    • 1.4
    • 1.3rc1
    • 1.3b2
    • 1.3b1
    • 1.3.2
    • 1.3.1rc1
    • 1.3.1
    • 1.3
    • 1.2.6
    • 1.2.5
    • 1.2.4b
    • 1.2.4a
    • 1.2.4
    • 1.2.3b
    • 1.2.3a
    • 1.2.3
    • 1.2.2b2
    • 1.2.2b
    • 1.2.2
    • 1.2.1
    • 1.2
    • 1.1b
    • 1.1a
    • 1.1.4
    • 1.1.3a
    • 1.1.3.1
    • 1.1.3
    • 1.1.2
    • 1.1.1
    • 1.1
    • 1.0a
    • 1.0.4
    • 1.0.3
    • 1.0.2
    • 1.0.1
    • 1.0
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

jQuery JavaScript Library — Read more

  cancel

http://jquery.com/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

The context for 'body' should still be document, in this case. 
jeresig (author)
Fri Jan 29 12:04:26 -0800 2010
commit  cb65daa399630de0cdcd81af55ff76f6cd93da62
tree    ad01681ffdf2ee18ab959a23b623979849e4fdd0
parent  4f2e209b85b56351ed17ac0b5de60db85666209f
jquery /
name age
history
message
file .gitattributes Fri Nov 27 08:23:19 -0800 2009 Force endlines to be just LF (any CRLF is auto-... [jeresig]
file .gitignore Wed Dec 09 23:49:13 -0800 2009 Adding .DS_Store to Git ignore. [jeresig]
file GPL-LICENSE.txt Mon Aug 21 12:36:44 -0700 2006 Updated the licensing information. [jeresig]
file MIT-LICENSE.txt Thu Jan 21 06:07:19 -0800 2010 Updating the date in MIT-LICENSE.txt. Thanks @m... [jeresig]
file Makefile Thu Jan 28 11:18:20 -0800 2010 Add a new build mode to the Makefile that doesn... [jeresig]
file README.md Mon Dec 21 20:23:03 -0800 2009 Updated the README to reference the Closure Com... [jeresig]
file Rakefile Sun Jan 03 09:54:41 -0800 2010 Oops, Rakefile was generating the wrong file. [jeresig]
file build.xml Tue Jan 12 18:54:06 -0800 2010 Fixed typo in logic, also disabled function se... [jeresig]
directory build/ Fri Dec 18 18:23:26 -0800 2009 Switched from using YUI Compressor to Google Co... [jeresig]
directory speed/ Thu Jul 23 18:50:41 -0700 2009 speed: adding a benchmark() function [flesler]
directory src/ Fri Jan 29 12:04:26 -0800 2010 The context for 'body' should still be document... [jeresig]
directory test/ Thu Jan 28 14:17:51 -0800 2010 Landing some minor perf optimization to jQuery(). [jeresig]
file version.txt Mon Jan 25 16:43:40 -0800 2010 Updating the source version to 1.4.2pre. [jeresig]
README.md

jQuery - New Wave Javascript

What you need to build your own jQuery

  • Make sure that you have Java installed (if you want to build a minified version of jQuery). If not, go to this page and download "Java Runtime Environment (JRE) 5.0"
    http://java.sun.com/javase/downloads/index.jsp

  • You now have two options for building jQuery, if you have access to common UNIX commands (like make, mkdir, rm, cat, and echo) then simply type make to build all the components.

  • The other option is if you have Ant installed (or are on Windows and don't have access to make). You can download Ant from here: http://ant.apache.org/bindownload.cgi If you do have Ant, everytime (in this README) that I say 'make', do 'ant' instead - it works identically (for all intents and purposes).

How to build your own jQuery

In the main directory of the distribution (the one that this file is in), type the following to make all versions of jQuery:

make

Here are each of the individual items that are buildable from the Makefile.

make init

Pull in all the external dependencies (QUnit, Sizzle) for the project.

make jquery

The standard, uncompressed, jQuery code.
Makes: ./dist/jquery.js

make min

A compressed version of jQuery (made the Closure Compiler).
Makes: ./dist/jquery.min.js

make selector

Builds the selector library for jQuery from Sizzle.
Makes: ./src/selector.js

Finally, you can remove all the built files using the command:

make clean

Additionally, if you want to install jQuery to a location that is not this directory, you can specify the PREFIX directory, for example:

make PREFIX=/home/john/test/

OR

make PREFIX=~/www/ docs

If you have any questions, please feel free to ask them on the jQuery mailing list, which can be found here:
http://docs.jquery.com/Discussion

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server