diff options
author | John Resig <jeresig@gmail.com> | 2006-08-13 15:22:02 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2006-08-13 15:22:02 +0000 |
commit | 139a9cd7d495922b0f6e8f79d5fb3239db59b5ba (patch) | |
tree | ebda75877829880c33d421d31da267cd142bfdde | |
parent | 7d4bf9725472b7684533a35e5fbd143c28a5758c (diff) | |
download | jquery-139a9cd7d495922b0f6e8f79d5fb3239db59b5ba.tar.gz jquery-139a9cd7d495922b0f6e8f79d5fb3239db59b5ba.zip |
Moved some more files around.
-rw-r--r-- | build/docs.js | 16 | ||||
-rw-r--r-- | build/docs/gen-events.pl (renamed from docs/events/gen-events.pl) | 0 |
2 files changed, 8 insertions, 8 deletions
diff --git a/build/docs.js b/build/docs.js index 4ed6cc79c..e17e64d95 100644 --- a/build/docs.js +++ b/build/docs.js @@ -1,6 +1,6 @@ -load("build/js/json.js"); -load("build/js/xml.js"); -load("build/js/writeFile.js"); +load("js/json.js"); +load("js/xml.js"); +load("js/writeFile.js"); var types = { jQuery: "A jQuery object.", @@ -14,7 +14,7 @@ var types = { Function: "A reference to a Javascript function." }; -var f = readFile("../jquery-svn.js"); +var f = readFile(arguments[0]); var c = [], bm, m; var blockMatch = /\/\*\*\s*((.|\n)*?)\s*\*\//g; @@ -82,17 +82,17 @@ while ( bm = blockMatch.exec(f) ) { var json = Object.toJSON( c ); -writeFile( "data/jquery-docs-json.js", json ); -writeFile( "data/jquery-docs-jsonp.js", "docsLoaded(" + json + ")" ); +writeFile( arguments[1] + "/data/jquery-docs-json.js", json ); +writeFile( arguments[1] + "/data/jquery-docs-jsonp.js", "docsLoaded(" + json + ")" ); Object.toXML.force = { desc: 1, code: 1, before: 1, result: 1 }; var xml = Object.toXML( { method: c }, "docs" ); -writeFile( "data/jquery-docs-xml.xml", +writeFile( arguments[1] + "/data/jquery-docs-xml.xml", "<?xml version='1.0' encoding='ISO-8859-1'?>\n" + xml ); -writeFile( "index.xml", +writeFile( arguments[1] + "/index.xml", "<?xml version='1.0' encoding='ISO-8859-1'?>\n" + "<?xml-stylesheet type='text/xsl' href='style/docs.xsl'?>\n" + xml ); diff --git a/docs/events/gen-events.pl b/build/docs/gen-events.pl index 5e92df927..5e92df927 100644 --- a/docs/events/gen-events.pl +++ b/build/docs/gen-events.pl |