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

jquery / jquery

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 2,072
    • 197
  • Source
  • Commits
  • Network (197)
  • 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

Mobile WebKit browsers don't support accessing the scroll position of the 
document/window. Comment
jeresig (author)
Thu Mar 25 14:30:13 -0700 2010
commit  dab1d7467789c7092366f8231dceee0dc20d2553
tree    8efaec107ac8b68ab301a4498e0c1d90453dacff
parent  298c81a8440169f3cbcacb9655ac3fef0a3e6d76
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/ Tue Mar 23 09:12:16 -0700 2010 Made it so that you no longer need to build jQu... [jeresig]
directory test/ Thu Mar 25 14:30:13 -0700 2010 Mobile WebKit browsers don't support accessing ... [jeresig]
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