Made a bunch of fixes to the docs, per Sam's request. Also, did some re-organization of the order of the function names.

This commit is contained in:
John Resig 2006-09-05 06:21:35 +00:00
parent 6346e5d1c2
commit e2d3c43419
3 changed files with 92 additions and 40 deletions

View file

@ -24,6 +24,8 @@ $(document).ready(function(){
.toggle('slow');
return false;
});
$("#docs").alphaPager( 1 );
$("#docs").alphaPager(function(a){
return $.fn.text.apply( [a.childNodes[1]] ).replace(/^\$\./,"").substr(0,1).toUpperCase();
});
});

View file

@ -15,7 +15,7 @@
<h1>jQuery Docs - API</h1>
<ul id="docs">
<xsl:for-each select="method[not(@private)]">
<xsl:sort select="@name"/>
<xsl:sort select="translate(@name,'$.','')"/>
<xsl:sort select="count(params)"/>
<li>
<span class='type'><span class='tooltip'><xsl:value-of select="@type"/></span></span>