aboutsummaryrefslogtreecommitdiffstats
path: root/build/docs/docs.js
diff options
context:
space:
mode:
Diffstat (limited to 'build/docs/docs.js')
-rw-r--r--build/docs/docs.js2
1 files changed, 2 insertions, 0 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("<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 );