Updated the doc js to remove old code.
[jquery.git] / docs / js / doc.js
1 var types = {
2         jQuery: "A jQuery object.",
3         Object: "A simple Javascript object. For example, it could be a String or a Number.",
4         String: "A string of characters.",
5         Number: "A numeric valid.",
6         Element: "The Javascript object representation of a DOM Element.",
7         Hash: "A Javascript object that contains key/value pairs in the form of properties and values.",
8         "Array<Element>": "An Array of DOM Elements.",
9         "Array<String>": "An Array of strings.",
10         Function: "A reference to a Javascript function."
11 };
12
13 $(document).ready(function(){
14         $("span.tooltip").ToolTipDemo('#fff');
15
16         $("a.name").click(function(){
17                 $("div.more,div.short",this.parentNode.parentNode).toggle().find("div.desc",function(){
18                         $(this).html( $(this).html().replace(/\n\n/g, "<br/><br/>") );
19                 });
20                 return false;
21         });
22
23         $("#docs").alphaPager( 1 );
24 });