X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=build%2Fdocs%2Fdocs.js;h=500b91c143248798451a47dd31b39a07b7c1b509;hb=766c3765bd30e6a643eff99da0f1c293aa2897bd;hp=6574f6b04be8d9d09f3a6ea37ae00c7b0ac17926;hpb=ccabf2823b528c09455432cafdb504c6a0216a18;p=jquery.git diff --git a/build/docs/docs.js b/build/docs/docs.js index 6574f6b..500b91c 100644 --- a/build/docs/docs.js +++ b/build/docs/docs.js @@ -2,7 +2,7 @@ load("build/js/json.js", "build/js/xml.js", "build/js/writeFile.js", "build/js/p var dir = arguments[1]; -var c = parse( readFile(arguments[0]) ); +var c = parse( read(arguments[0]) ); output( c, "docs" ); c = categorize( c ); @@ -17,12 +17,12 @@ function output( c, n ) { Object.toXML.force = { desc: 1, code: 1, before: 1, result: 1 }; var xml = Object.toXML( n == "docs" ? { method: c } : c, "docs" ); - + writeFile( dir + "/data/jquery-" + n + "-xml.xml", "\n" + xml ); writeFile( dir + "/" + ( n == "docs" ? "index" : n ) + ".xml", "\n" + - "\n" + xml + "\n" + xml ); }