#!prototype/1.6.0.2
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.2/prototype.js"></script>
Or you can use Google’s API:
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("prototype", "1.6.0.2");</script>Build the complete “prototype.js” file with the rake dist command.
- Add to JavaScript's "standard library"
- extensions to built-in JavaScript objects.
`
Try
Array
- rototype extends all native JavaScript arrays with quite a few powerful methods.
Class
- anages Prototype's class-based OOP system.
Date
- xtensions to the built-in Date object.
Function
- xtensions to the built-in Function object.
Hash
Number
- xtensions to the built-in Number object.
Object
- xtensions to the built-in Object object.
ObjectRange
PeriodicalExecuter
- versees the calling of a particular function periodically.
RegExp
- xtensions to the built-in RegExp object.
String
- xtensions to the built-in String class.
Template
- class for sophisticated string interpolation.
Mixins
Enumerable
- numerable provides a large set of useful methods for enumerations — objects that act as collections of values. It is a cornerstone of Prototype.
`