dturnbull/closure-script — Issue #11: define options are not interpreted correctly
Author: pstjvn
Created: 2011-10-26 09:47:01+00:00
State: open

the "ASSUME*" compiler options are always unrecognized when added to the compiler.js:

when 'build' then %w{
--compilation_level ADVANCED_OPTIMIZATIONS
--define goog.dom.ASSUME_WEBKIT=true
--js_output_file compiler_build.js
--create_source_map compiler_build.map
}

the result is always :

WARNING - unknown @define variable goog.dom.ASSUME_WEBKIT

This is working when the defines are added to the compiler flags in the command line

Maybe I am not doing it right? Is this supported in the Script?