The DynAPI Compressor is used to compress the DynAPI source
code by removing comments, white spaces, etc from the source files.
It's based on the JavaScript compressor used at Brainjar.com.
Please visit Brainjar.com
for more information on how to write scripts that are JavaScript
compressor friendly.
This version only
works the Internet Explorer (version 5+).
- Compression Level - Sets the level of compression to
use when compressing files or modules. Three levels of compression are
supported:
High - Removes comments and white spaces from the
files/modules
Low - Removes only comments from the files/modules
None - Makes a copy of the files/modules Note:
Conditional statements will be included or excluded regardless
of the compression level selected
-
Source Path - Path where the uncompressed files are. For
example c:\developer\dynapi\src
-
Destination Path - Path where newly compressed files are to
be placed. For example c:\production\dynapi\src
-
Modules - These are modules to be included or excluded from the
compressed output.
-
Compressor Directives - By placing directives inside
the source code the compressor can remove blocks of codes if it
is not needed after compression
//@IF:DEBUG[
// Some debugging code here.
This line of code will remain if the
Include Debugger check box is checked
//]:DEBUG
//@IF:NS4[
// Some ns4 code here.
This lines of code will remain if
the NS4 support check box is checked
//]:NS4
|