Show
Ignore:
Timestamp:
02/25/07 14:00:41 (23 months ago)
Author:
jburke
Message:

References #2366. Added a compress option to the web build.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/0.4/buildscripts/webbuild/index.html

    r7286 r7448  
    133133                depListForm.version.value = version; 
    134134                depListForm.xdDojoUrl.value = xdDojoUrl; 
     135                depListForm.doCompression.value = document.masterForm.doCompression[1].checked ? true : false; 
    135136 
    136137                //reset the hidden frame so we can do another build. 
     
    375376 
    376377<table id="outerTable"> 
    377         <tr><td colspan=3><h2>Dojo Builder (highly experimental) 
     378        <tr><td colspan=3><h2>Dojo Builder (experimental) 
    378379                                                        <div id="version">for version @VERSION@</div> 
    379380                                                </h2></td></tr> 
     
    527528                        <table class="labelRow_table" width=100% cellpadding=1><tr> 
    528529                                <td id="dependencyRow_Arrow" class="labelRow_toggler"><div id="dependencyRow_toggler" class="toggler">&ndash;</div></td> 
    529                                 <td id="dependencyRow_Title" class="labelRow_title">Modules to include:</td> 
     530                                <td id="dependencyRow_Title" class="labelRow_title">Resources to include:</td> 
    530531                                <td id="dependencyRow_Arrow" class="labelRow_values"></td> 
    531532                        </tr></table> 
     
    548549                                        <td class="tree"><div id="treeContainer"></div></td> 
    549550                                </tr>                    
    550                                 <tr><td class="underLabel">Enter module names separated by line returns and/or commas. <br>  
    551                                                                                         "Quotes" around module names are optional.</td> 
     551                                <tr><td class="underLabel">Enter resource names separated by line returns and/or commas. <br>  
     552                                                                                        "Quotes" around resource names are optional.</td> 
    552553                                        <td class="colSpacer">&nbsp;</td> 
    553554                                        <td class="underLabel">Double click items above to add them to the list.</td> 
     
    558559        </tr> 
    559560 
    560         <tr style="display:none"><td colspan=3 class="rowSpacer">&nbsp;</td></tr> 
    561         <tr style="display:none"><td colspan=3 class="labelRow outsetBorder" id="optionsRow_label" onclick="toggleRow('optionsRow')"> 
     561        <tr><td colspan=3 class="rowSpacer">&nbsp;</td></tr> 
     562        <tr><td colspan=3 class="labelRow outsetBorder" id="optionsRow_label" onclick="toggleRow('optionsRow')"> 
    562563                        <table class="labelRow_table" width=100% cellpadding=1><tr> 
    563564                                <td id="optionsRow_Arrow" class="labelRow_toggler"><div id="optionsRow_toggler" class="toggler">&ndash;</div></td> 
     
    567568                </td> 
    568569        </tr> 
    569         <tr id="optionsRow" style="display:none"> 
     570        <tr id="optionsRow"> 
    570571                <td class="colSpacer">&nbsp;</td> 
    571572                <td> 
    572573                        <table> 
    573                                 <tr><td class="fieldLabel">Profile name:</td> 
    574                                         <td class="field"><input id="profileName"></td> 
    575                                         <td class="colSpacer">&nbsp;</td> 
    576                                         <td class="check"><input id="tellDojo" type="checkbox"></td> 
    577                                         <td class="checkLabel"><label for="tellDojo">Let dojo know about this profile</label><br> 
    578                                                                                                                                         <span class="note">(anonymous, for usage pattern info gathering only)</span></td> 
    579                                 </tr>                    
    580  
    581                                 <tr><td class="check"><input id="strip" type="checkbox"></td> 
    582                                         <td class="checkLabel"><label for="strip">Strip whitespace</label></td> 
    583                                 </tr>                    
    584  
    585                                 <tr><td class="check"><input id="removeComments" type="checkbox"></td> 
    586                                         <td class="checkLabel"><label for="removeComments">Remove comments</label></td> 
    587                                 </tr>                    
    588  
    589                                 <tr><td class="check"><input id="compress" type="checkbox"></td> 
    590                                         <td class="checkLabel"><label for="compress">Compress the contents (very slow)</label></td> 
    591                                 </tr>                    
     574                                <tr><td class="radio"><input id="minify" name="doCompression" type="radio" value="false" CHECKED></td> 
     575                                        <td class="radioLabel"><label for="minify">Minify <span class="underLabel">Removes comments, but code is still readable for debugging</span></label></td> 
     576                                </tr>                    
     577 
     578                                <tr><td class="radio" style="vertical-align: top"><input id="compress" name="doCompression" type="radio" value="false"></td> 
     579                                        <td class="radioLabel"><label for="compress">Compress <span class="underLabel">Modifies code to shrink size, but is harder to debug. Gives about a 10% file reduction when comparing its gzipped size to the gzipped size of the Minify option (tool does not do gzipping, you must do it yourself)</span></label></td> 
     580                                </tr> 
    592581<!-- 
    593582--> 
     
    634623        <input type="hidden" name="depList" value="" /> 
    635624        <input type="hidden" name="provideList" value="" /> 
    636         <input type="hidden" name="version" value="" />          
    637         <input type="hidden" name="compress" value="false" /> 
     625        <input type="hidden" name="version" value="" /> 
    638626        <input type="hidden" name="xdDojoUrl" value="" /> 
     627        <input type="hidden" name="doCompression" value="" /> 
    639628</form> 
    640629