aboutsummaryrefslogtreecommitdiff
path: root/src/settings.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-03-10 13:08:23 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-03-10 13:24:37 -0700
commit54b0f19d9e8130de16053b0915d114c346c99f17 (patch)
treec4e90ccb7192af726cd292e228e3a0e715b4b86a /src/settings.js
parent501fdd709bbab7b2c11639f5a1df45123193b69b (diff)
forward CLOSURE_COMPILER to settings, and use that to avoid a closure-specific workaround for Module detection; fixes #2209
Diffstat (limited to 'src/settings.js')
-rw-r--r--src/settings.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js
index 02f6c8b5..1c41676d 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -133,6 +133,7 @@ var PRECISE_F32 = 0; // 0: Use JS numbers for floating-point values. These are 6
// therefore recommended.
var SIMD = 0; // Whether to emit SIMD code ( https://github.com/johnmccutchan/ecmascript_simd )
+var CLOSURE_COMPILER = 0; // Whether closure compiling is being run on this output
var CLOSURE_ANNOTATIONS = 0; // If set, the generated code will be annotated for the closure
// compiler. This potentially lets closure optimize the code better.