diff options
author | max99x <max99x@gmail.com> | 2011-06-25 10:27:49 +0300 |
---|---|---|
committer | max99x <max99x@gmail.com> | 2011-06-25 10:27:49 +0300 |
commit | 2f3bd046bb52234771dce5c689141626370e26ce (patch) | |
tree | 8c6297a73e97d0473359480aade22a6207f0ed37 /src/settings.js | |
parent | c9b968a4467fc1c004da69dc2f0000728fbf108e (diff) |
Added support for exporting (non-function) global variables.
Diffstat (limited to 'src/settings.js')
-rw-r--r-- | src/settings.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js index f2dd9065..f3ed4d06 100644 --- a/src/settings.js +++ b/src/settings.js @@ -101,6 +101,10 @@ AUTO_OPTIMIZE = 0; // When run with the CHECK_* options, will not fail on errors EXPORTED_FUNCTIONS = ['_main']; // Functions that are explicitly exported, so they are guaranteed to // be accessible outside of the generated code. +EXPORTED_GLOBALS = []; // Global non-function variables that are explicitly + // exported, so they are guaranteed to be + // accessible outside of the generated code. + SHOW_LABELS = 0; // Show labels in the generated code // Compiler debugging options |