<
script language="javascript" src="compressor.init.js"><
/script>
<
form name="frmcompressor" method="POST">
<
table border="0" style="border-left: 2 solid #EEEEEE; border-right: 2 solid #999999; border-top: 2 solid #EEEEEE; border-bottom: 2 solid #999999" width="100%" bgcolor="#D6D3CE">
<
td bgcolor="#336699" width="100%" ><
b><
font face="Arial" size="2" color="#FFFFFF"> DynAPI
<
td valign="top" width="100%" align="right">
<
table border="0" width="100%">
<
td width="50%"><
font size="2" face="Arial">Compression Level:<
br>
<
/font><
select size="1" name="cbolevel" style="width: 98%; height: 23">
<
td width="50%"><
a href="javascript:;" onclick="showHideAbout()" style="text-decoration:none;font-family: Arial"><
img border="0" src="dc_icon.gif" width="32" height="32" align="absmiddle">
<
b><
font size="4" color="#000080">About DynAPI Compressor <
/font><
/b><
/a><
/td>
<
td valign="top" width="100%">
<
table border="0" width="100%" cellpadding="2" cellspacing="1">
<
td width="50%"><
font size="2" face="Arial">Source Path<
br>
<
input type="text" name="txtsource" size="20" style="width: 100%"><
/font><
/td>
<
td width="50%"><
font size="2" face="Arial">Destination Path<
br>
<
input type="text" name="txttarget" size="20" style="width: 100%">
<
table border="0" width="100%" cellpadding="2" cellspacing="1">
<
td colspan="3" style="font-size: 8pt; font-family: Arial; font-weight: bold; border-bottom: 2 solid #C0C0C0"><
font size="2" face="Arial">Modules<
/font><
/td>
<
td width="33%"><
font size="2" face="Arial"><
input type="checkbox" name="chk" value="api" checked>API
<
td width="33%"><
font size="2" face="Arial"><
input type="checkbox" name="chk" value="fx" checked>FX
<
td width="33%"><
font size="2" face="Arial"><
input type="checkbox" name="chk" value="util" checked>UTIL
<
td width="33%"><
font size="2" face="Arial"><
input type="checkbox" name="chk" value="ext" checked>EXT
(Extension
) Libraries<
/font><
/td>
<
td width="33%"><
font size="2" face="Arial"><
input type="checkbox" name="chk" value="gui" checked>GUI <
/font><
font size="2" face="Arial">Libraries<
/font><
/td>
<
td style="border-top: 2 solid #C0C0C0" width="33%"><
font size="2" face="Arial"><
input type="checkbox" name="chkcvs" value="true" checked>Ignore
<
td style="border-top: 2 solid #C0C0C0" width="33%"><
font size="2" face="Arial"><
input type="checkbox" name="chkdebug" value="true">
<
td style="border-top: 2 solid #C0C0C0" width="33%"><
font size="2" face="Arial"><
input type="checkbox" name="chkns4" value="true" checked>NS4
<
table border="0" cellspacing="0" cellpadding="0" width="100%">
<
td width="100%" ><
font size="2" face="Arial"><
input type="text" name="txtstatus" size="74" style="background-color: #D6D3CE; border-style: solid; border-width: 0" value="Ready"><
/font><
/td>
<
table border="0" width="100%">
<
td style="border: 1 solid #000000" bgcolor="#FFFFFF"><
img name="bar" border="0" src="../examples/images/pixel.gif" width="10" height="20" style="visibility:hidden;background-color: #0000FF"><
/td>
<
font size="2" face="Arial"><
input type="text" name="txtsizestatus" size="74" style="background-color: #D6D3CE; border-style: solid; border-width: 0"><
/font>
<
table border="0" width="100%">
<
td width="100%" align="right">
<
td width="100%" align="right">
<
input language="javascript" type="button" value="Check semi-colons" name="cmdtrace" onclick="compress(true)">
<
input language="javascript" type="button" value="Compile" name="cmdcompress" onclick="compress()">
<
tr id="dvscreenrow" style="display:none"><
td bgcolor="#FFFFFF" style="font-family: Arial; border-style: inset; border-width: 2"><
div id="dvscreen"><
/div><
/td><
/tr>
<
tr id="dvabout" style="display:none">
<
td bgcolor="#D6D3CE" valign="top" width="100%">
<
table border="0" style="font-family: Arial; font-size: 10pt; border-style: inset; border-width: 2" cellspacing="1" cellpadding="2">
<
td bgcolor="#FFFFFF" valign="top">
<
p>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 <a href="http://www.brainjar.com">Brainjar.com</a>.
Please visit <a href="http://www.brainjar.com">Brainjar.com</a>
for more information on how to write scripts that are JavaScript
compressor friendly.</p>
<p> This version only
works the Internet Explorer (version 5+).</p>
<ul>
<li><b>Compression Level</b> - Sets the level of compression to
use when compressing files or modules. Three levels of compression are
supported:<br>
<blockquote>
High - Removes comments and white spaces from the
files/modules<br>
Low - Removes only comments from the files/modules<br>
None - Makes a copy of the files/modules </blockquote>Note:
Conditional statements will be included or excluded regardless
of the compression level selected<br>
</li>
<li>
<b>Source Path</b> - Path where the uncompressed files are. For
example c:\developer\dynapi\src<br>
</li>
<li>
<b>Destination Path </b>- Path where newly compressed files are to
be placed. For example c:\production\dynapi\src<br>
</li>
<li>
<b>Modules</b> - These are modules to be included or excluded from the
compressed output.<br>
</li>
<li>
<b>Compressor Directives</b> - By placing directives inside
the source code the compressor can remove blocks of codes if it
is not needed after compression</li>
</ul>
<blockquote>
<blockquote>
<p><font face="Arial" size="2">//@IF:DEBUG[ <br>
// Some debugging code here. <br>
This line of code will remain if the
Include Debugger check box is checked <br>
//]:DEBUG<br>
<br>
//@IF:NS4[<br>
// Some ns4 code here. <br>
This lines of code will remain if
the NS4 support check box is checked<br>
//]:NS4</font></p>
</blockquote>
</blockquote>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>