public
Description: Prototype JavaScript framework
Homepage: http://prototypejs.org/
Clone URL: git://github.com/sstephenson/prototype.git
Fri Jun 06 13:30:08 -0700 2008
commit  69a4e3f5c1f0b1d1656e6ba6ce8f3c4f0dc29e66
tree    f086ead0116a88dc192dfe29e2886abc2b548ed7
parent  99b9c4e1dad7facd2a367fb59e9d3817733c3216
name age message
file .gitignore Mon May 05 11:17:46 -0700 2008 ignore DS_Store files [madrobby]
file CHANGELOG Fri Jun 06 12:25:03 -0700 2008 Update CHANGELOG. [savetheclocktower]
file LICENSE Fri Jan 25 14:54:47 -0800 2008 prototype: Update copyright date in LICENSE [sstephenson]
file README Thu Apr 24 17:21:48 -0700 2008 Super minor change. Still learning git. [tobie]
file Rakefile Wed Apr 23 03:05:30 -0700 2008 Make Rake auto-generate test/unit/temp director... [tobie]
directory dist/ Thu Mar 27 13:00:35 -0700 2008 Added 'prototype.js' to dist/.gitignore so it w... [savetheclocktower]
directory ext/ Sun Mar 16 11:53:51 -0700 2008 prototype: Remove usage of the statement from ... [tobie]
directory lib/ Thu Jan 18 14:24:27 -0800 2007 prototype: Reorganize the source tree. [sstephenson]
directory src/ Fri Jun 06 13:30:08 -0700 2008 Correct misplaced comma in ajax.js. [savetheclocktower]
directory test/ Fri Jun 06 11:39:23 -0700 2008 Updated unit tests. [savetheclocktower]
README
= Prototype
==== An object-oriented JavaScript framework

Prototype is a JavaScript framework that aims to ease development of dynamic 
web applications.  It offers a familiar class-style OO framework, extensive
Ajax support, higher-order programming constructs, and easy DOM manipulation.

=== Targeted platforms

Prototype currently targets the following platforms:

* Microsoft Internet Explorer for Windows, version 6.0 and higher
* Mozilla Firefox 1.5 and higher
* Apple Safari 2.0 and higher
* Opera 9.25 and higher

== Using Prototype

To use Prototype in your application, download the latest release from the 
Prototype web site (http://prototypejs.org/download) and copy 
<tt>dist/prototype.js</tt> to a suitable location. Then include it in your HTML
like so:

  <script type="text/javascript" src="/path/to/prototype.js"></script>

=== Building Prototype from source

<tt>prototype.js</tt> is a composite file generated from many source files in 
the <tt>src/</tt> directory. To build Prototype, you'll need:

* a copy of the Prototype source tree, either from a distribution tarball or
  from the Subversion repository (see below)
* Ruby 1.8.2 or higher (http://www.ruby-lang.org/)
* Rake -- Ruby Make (http://rake.rubyforge.org/)
* RDoc, if your Ruby distribution does not include it

From the root Prototype directory,

* <tt>rake dist</tt> will preprocess the Prototype source using ERB and 
  generate the composite <tt>dist/prototype.js</tt>.
* <tt>rake package</tt> will create a distribution tarball in the 
  <tt>pkg/</tt> directory.

== Contributing to Prototype

Check out the Prototype source with 
  $ git clone git://github.com/sstephenson/prototype.git

Find out how to contribute:
  http://prototypejs.org/contribute

== Documentation

Please see the online Prototype API:
  http://prototypejs.org/api