- click on showApi-button calls docapplication/read_action to re-read the
application each time a user enters the doc-frameset. - function docfiles aren't stored in their own directory each but moved up to the prototype directory, further regex-parsing of the resuting html-code necessary
This commit is contained in:
parent
c709dd4c59
commit
4505fb1ffc
4 changed files with 21 additions and 13 deletions
|
@ -1,3 +1,8 @@
|
|||
function read_action () {
|
||||
this.readApplication ();
|
||||
res.redirect (this.href("main"));
|
||||
}
|
||||
|
||||
function main_action () {
|
||||
if (checkAddress()==false)
|
||||
return;
|
||||
|
@ -44,7 +49,7 @@ function render_action () {
|
|||
return;
|
||||
res.writeln("<html><head><title>render</title></head><body>rendering API ... ");
|
||||
var prefix = this.href ("");
|
||||
this.storePage (this, "main");
|
||||
this.storePage (this, "main", "", "index.html");
|
||||
this.storePage (this, "prototypes");
|
||||
this.storePage (this, "summary");
|
||||
this.storePage (this, "functionindex");
|
||||
|
@ -56,7 +61,7 @@ function render_action () {
|
|||
ct += 2;
|
||||
var subarr = arr[i].listChildren ();
|
||||
for (var j=0; j<subarr.length; j++) {
|
||||
this.storePage (subarr[j], "main", "../../");
|
||||
this.storePage (subarr[j], "main", "../", subarr[j].getElementName () + ".html");
|
||||
ct += 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue