Hi,

the two files to update are originalafter.js, which contains most of the
code, and manual_en_contents.txt, which contains a listing of all the files
in the /manual/en/ directory (the function list is produced from that). 

After you edit either, run make to get a new functions.js. 

Don't touch before.js and middle.js, as they don't end with a new line and
should stay that way. 

See Makefile for what happens where. Basically, the names of functions are
extracted from the directory listing and compressed, the javascript is
obfuscated (whitespace and comments removed, and variables get shorter
names), and everything is put together into functions.js.

You should probably add some keywords to processafter.php if you edit the
javascript, as all the words that must not be changed must be listed there.


Hope that helps,

Mitja


-----Original Message-----
From: Gabor Hojtsy [mailto:[EMAIL PROTECTED] 
Sent: 19. november 2003 20:59
To: Mitja Slenc
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP-DOC] RE: quickref.swf


> Test: www.xs0.com/php/index.html
> D/L: www.xs0.com/php/funclist.zip

Hm, what code you have used to compress (ie. obfuscate) the JS file 
implementing the functionality? I would like to clen up the code, plus 
add some requested features, while retaining the small size of the file 
with compressing (ie. obfuscating) the JS.

Goba

Reply via email to