From 967eec18317d0451af93b1a86902e80d39086507 Mon Sep 17 00:00:00 2001 From: John Resig Date: Tue, 10 Oct 2006 01:17:47 +0000 Subject: [PATCH] The jQuery version is now reported in the docs. --- build/docs/docs.js | 2 ++ build/docs/style/docs.xsl | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/build/docs/docs.js b/build/docs/docs.js index 500b91c14..86b48ee45 100644 --- a/build/docs/docs.js +++ b/build/docs/docs.js @@ -18,6 +18,8 @@ function output( c, n ) { var xml = Object.toXML( n == "docs" ? { method: c } : c, "docs" ); + xml = xml.replace("", ""); + writeFile( dir + "/data/jquery-" + n + "-xml.xml", "\n" + xml ); diff --git a/build/docs/style/docs.xsl b/build/docs/style/docs.xsl index 86c9a762c..8d9f67047 100644 --- a/build/docs/style/docs.xsl +++ b/build/docs/style/docs.xsl @@ -4,7 +4,7 @@ - jQuery Docs - API + jQuery Docs - <xsl:value-of select="/docs/@version"/> API @@ -12,7 +12,7 @@ -

jQuery Docs - API

+

jQuery Docs - API