diff options
author | John Resig <jeresig@gmail.com> | 2006-09-05 06:21:35 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2006-09-05 06:21:35 +0000 |
commit | e2d3c4341908aa2a36023c91a8a684d10e93339a (patch) | |
tree | 6399d3ac304b30b84f30b62a755d5bf3d3c37870 /build/docs | |
parent | 6346e5d1c23108ff850d324904c274b273ea993e (diff) | |
download | jquery-e2d3c4341908aa2a36023c91a8a684d10e93339a.tar.gz jquery-e2d3c4341908aa2a36023c91a8a684d10e93339a.zip |
Made a bunch of fixes to the docs, per Sam's request. Also, did some re-organization of the order of the function names.
Diffstat (limited to 'build/docs')
-rw-r--r-- | build/docs/js/doc.js | 6 | ||||
-rw-r--r-- | build/docs/style/docs.xsl | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/build/docs/js/doc.js b/build/docs/js/doc.js index e5f7fcb9a..cf373eab5 100644 --- a/build/docs/js/doc.js +++ b/build/docs/js/doc.js @@ -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(); + }); }); diff --git a/build/docs/style/docs.xsl b/build/docs/style/docs.xsl index 354b5c0a7..86c9a762c 100644 --- a/build/docs/style/docs.xsl +++ b/build/docs/style/docs.xsl @@ -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> |