the compilation may fail if you use reserved keywords such as 'interface' or 'class',
or your code contains bugs, On Thu, Jun 3, 2010 at 3:52 PM, amadeus <[email protected]> wrote: > No, that's the point. The code is probably not compiling because it > isn't written properly for the closure compiler. > > > On Jun 2, 5:07 pm, Jay <[email protected]> wrote: > > That's fine -- that single javascript file contains everything; all > > the MooTools libraries, my custom classes, plus implementation code. > > But the code it spits out doesn't work at all. > > > > On Jun 2, 6:20 pm, Fábio M. Costa <[email protected]> wrote: > > > > > > > > > Use Advance optimizations only if you really know what your doing. > > > It changes object keys, and stuff so you cant use the resulting code > > > anywhere else. > > > Did it help? > > > Cya around. > > > > > -- > > > Fábio Miranda Costa > > > Solucione Sistemas > > > Engenheiro de interfaces > > > Twitter: fabiomirandahttp://solucione.info > > > > > On Wed, Jun 2, 2010 at 6:41 PM, Jay <[email protected]> wrote: > > > > I'm trying to run the Google Closure Compiler at > > > >http://closure-compiler.appspot.com/home > > > > with advanced optimizations, and the code it's spitting out doesn't > > > > work at all, and it's tossing more JSC_USED_GLOBAL_THIS warnings than > > > > you can shake a stick at. > > > > > > Any ideas? > > > > > > Here are my options I'm using: > > > > > > // ==ClosureCompiler== > > > > // @compilation_level ADVANCED_OPTIMIZATIONS > > > > // @output_file_name default.js > > > > // @code_urlhttp://smmirror.jaycarlson.net/js/debug/js.php > > > > // ==/ClosureCompiler== > -- http://tbela99.blogspot.com/ fax : (+33) 08 26 51 94 51
