Skip to content
Permalink
Browse files

The jQuery version is now reported in the docs.

  • Loading branch information
jeresig committed Oct 10, 2006
1 parent 766c376 commit 967eec18317d0451af93b1a86902e80d39086507
Showing with 4 additions and 2 deletions.
  1. +2 −0 build/docs/docs.js
  2. +2 −2 build/docs/style/docs.xsl
@@ -18,6 +18,8 @@ function output( c, n ) {

var xml = Object.toXML( n == "docs" ? { method: c } : c, "docs" );

xml = xml.replace("<docs>", "<docs version='" + read("version.txt").slice(0,-1) + "'>");

writeFile( dir + "/data/jquery-" + n + "-xml.xml",
"<?xml version='1.0' encoding='ISO-8859-1'?>\n" + xml );

@@ -4,15 +4,15 @@
<xsl:template match="/*">
<html>
<head>
<title>jQuery Docs - API</title>
<title>jQuery Docs - <xsl:value-of select="/docs/@version"/> API</title>
<link rel="stylesheet" href="style/style.css"/>
<script src="../dist/jquery.js"></script>
<script src="js/tooltip.js"></script>
<script src="js/pager.js"></script>
<script src="js/doc.js"></script>
</head>
<body>
<h1>jQuery Docs - API</h1>
<h1>jQuery Docs - <xsl:value-of select="/docs/@version"/> API</h1>
<ul id="docs">
<xsl:for-each select="method[not(@private)]">
<xsl:sort select="translate(@name,'$.','')"/>

0 comments on commit 967eec1

Please sign in to comment.
You can’t perform that action at this time.