From e3938aa8141999cc84200f074c79020e0a31c7e5 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Sun, 8 Jun 2014 23:22:31 -0400 Subject: [PATCH] Closure compiler --language_in=ECMASCRIPT5_STRICT This not only resolves the error triggered by the use of `super`, but also is more proper, since that is what ease.js is being developed for; I handle all ES3 fallback considerations myself. Note that the build will now produce warnings, but the lines producing them will be removed shortly in favor of a new API. --- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index 3a4f291..39b9640 100644 --- a/Makefile.am +++ b/Makefile.am @@ -88,6 +88,7 @@ if HAS_CCJAR $(JAVA) -jar $(compiler) \ --externs $(path_tools)/externs-global.js \ --externs $(path_build)/externs-internal.js \ + --language_in=ECMASCRIPT5_STRICT \ --js $< >> $@ || rm $@ else @echo "cannot create $@:"