aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-10-30 17:19:43 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-10-30 17:19:43 -0700
commit0a8eb75c785208f20c230ecdde0a7034cf70a84a (patch)
treea0331bb0eff2c3ab8a0301c592236aef98660671 /tools
parent2fb3456c4fefd57f25e08082b9b7771c47188784 (diff)
tell closure its input is ECMASCRIPT5
Diffstat (limited to 'tools')
-rw-r--r--tools/shared.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/shared.py b/tools/shared.py
index c330926c..6c5578a3 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -942,6 +942,7 @@ set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)''' % { 'winfix': '' if not WINDOWS e
'-jar', CLOSURE_COMPILER,
'--compilation_level', 'ADVANCED_OPTIMIZATIONS',
'--formatting', 'PRETTY_PRINT',
+ '--language_in', 'ECMASCRIPT5',
#'--variable_map_output_file', filename + '.vars',
'--js', filename, '--js_output_file', filename + '.cc.js']
if os.environ.get('EMCC_CLOSURE_ARGS'):