RE: [PHP-DOC] RE: quickref.swf
| From: | Mitja Slenc | Date: | Thu, 20 Nov 2003 07:40:19 +0000 |
| Subject: | RE: [PHP-DOC] RE: quickref.swf | ||
| References: | 1 | Groups: | php.doc php.mirrors |
| Request: | Send a blank email to phpdoc+get-969356990@lists.php.net to get a copy of this message | ||
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:gabor@hojtsy.hu]
Sent: 19. november 2003 20:59
To: Mitja Slenc
Cc: php-mirrors@lists.php.net; phpdoc@lists.php.net
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