You could easily create a perl program to strip out all comments inline or
otherwise. I believe Dan already has such a beast. You could also include
replace code:

$mystring =~ s/pattern/replacement/;

to compress anything (ie moveTo --> mt)

NanoFace =;^)


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Doug Melvin
Sent: November 19, 2001 2:42 PM
To: [EMAIL PROTECTED]
Subject: Re: [Dynapi-Dev] Proposed feature changes


> If you want to save file size that badly you're better off renaming all
the fucntions and properties to stuff like this.sp(x,y) this.ss(w,h).  You
can make >big changes like this to the DynAPI very easily with a global
search and replace function like that in the HomeSite html editor.

Taht could be handled by a code compressor/obfuscator.. (changing moveTo()
to mt())
Now if I can just find one that actually works with JS.. the best I found
will remove one-line commenct (//) and CR's but ignore's inline comments (/*
*/) and preforms no name compression/obfuscation.

Looks like yet another project I can dream about doing..


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[email protected]/


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[email protected]/

Reply via email to