From 0a8eb75c785208f20c230ecdde0a7034cf70a84a Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Tue, 30 Oct 2012 17:19:43 -0700 Subject: tell closure its input is ECMASCRIPT5 --- tools/shared.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tools') 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'): -- cgit v1.2.3-18-g5258