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

jquery / jquery

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 2,227
    • 203
  • Source
  • Commits
  • Network (203)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Switch Branches (3)
    • master ✓
    • mobile
    • omgrequire
  • Switch Tags (41)
    • 1.4rc1
    • 1.4a2
    • 1.4a1
    • 1.4.2
    • 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
  • Branch List
Sending Request…

jQuery JavaScript Library — Read more

  Cancel

http://jquery.com/

  Cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Removed extra semicolon leftover from recent tweaking. 
jeresig (author)
Wed Mar 31 11:36:24 -0700 2010
commit  4a64f9a5b8472f394c52e0b3bb7972c8ce699a13
tree    66c539659efb2fc0ef1ec928c1419ddc7e965002
parent  d6f03aa0df4f734f6f09bf82effa5b7fcd8487fc
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 Mon Mar 01 18:56:08 -0800 2010 Remove the need for the return in sizzle-jquery... [jeresig]
file README.md Tue Mar 09 06:16:35 -0800 2010 Removing the mention of buliding the docs from ... [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/ Mon Mar 01 18:51:44 -0800 2010 Added in integrated JSLint checking against the... [jeresig]
directory speed/ Thu Feb 04 19:43:23 -0800 2010 Add in a test for testing the performance of ev... [jeresig]
directory src/ Wed Mar 31 11:36:24 -0700 2010 Removed extra semicolon leftover from recent tw... [jeresig]
directory test/ Sat Mar 27 16:58:55 -0700 2010 Merge branch 'master' of github.com:jquery/jquery [brandonaaron]
file version.txt Sat Feb 13 19:33:57 -0800 2010 Updating the source version to 1.4.3pre. [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 lint

Tests a build of jQuery against JSLint, looking for potential errors or bits of confusing code.

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/

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