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

jquery / jquery

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 1,568
    • 148
  • Source
  • Commits
  • Network (148)
  • 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

Updated formatting for the change/submit special event logic. Also 
switched the function declarations to statements. Thanks to Garrett for 
the recommendation. 
jeresig (author)
Mon Feb 08 20:28:15 -0800 2010
commit  5267824aa36f0fcecb944a4daf0b99d6e01460fd
tree    c4593d6f34c2ca419dea0278c215be9e1ef17e78
parent  fec02aa5cb01fc865c69120d88a2eed541a21f0e
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 Feb 04 19:43:23 -0800 2010 Add in a test for testing the performance of ev... [jeresig]
directory src/ Mon Feb 08 20:28:15 -0800 2010 Updated formatting for the change/submit specia... [jeresig]
directory test/ Fri Feb 05 19:46:44 -0800 2010 Ok, this should actually fix #6041 :) [cowboy]
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