use simple optimizations by default

This commit is contained in:
Doug Fritz 2011-04-18 17:44:29 -07:00
parent 44d5bf27e9
commit 218461b74f
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
<link rel="icon" type="image/png" href="demo/assets/favicon.png"/> <link rel="icon" type="image/png" href="demo/assets/favicon.png"/>
<link href="demo/demo.css" media="screen" rel="stylesheet" type="text/css"/> <link href="demo/demo.css" media="screen" rel="stylesheet" type="text/css"/>
<link href="src/DAT/GUI/gui.css" media="screen" rel="stylesheet" <link href="src/DAT/GUI/GUI.css" media="screen" rel="stylesheet"
type="text/css"/> type="text/css"/>
<script type="text/javascript" src="src/DAT/GUI/GUI.js"></script> <script type="text/javascript" src="src/DAT/GUI/GUI.js"></script>
@ -130,7 +130,7 @@
<li><a href="https://github.com/jonobr1/dat.gui/raw/versions/gui.min <li><a href="https://github.com/jonobr1/dat.gui/raw/versions/gui.min
.js"><strong>Download the minified source</strong></a> .js"><strong>Download the minified source</strong></a>
<small <small
id="buildsize">[254.1kb] id="buildsize">[114.4kb]
</small> </small>
</li> </li>

View File

@ -12,7 +12,7 @@ Commands:
clean remove any built files clean remove any built files
""" """
parser = OptionParser(usage=usage) parser = OptionParser(usage=usage)
parser.add_option('-l', '--level', dest='level', default='ADVANCED_OPTIMIZATIONS', parser.add_option('-l', '--level', dest='level', default='SIMPLE_OPTIMIZATIONS',
help='Closure compilation level [WHITESPACE_ONLY, SIMPLE_OPTIMIZATIONS, \ help='Closure compilation level [WHITESPACE_ONLY, SIMPLE_OPTIMIZATIONS, \
ADVANCED_OPTIMIZATIONS]') ADVANCED_OPTIMIZATIONS]')