1
0
Fork 0

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.
protolib
Mike Gerwitz 2014-06-08 23:22:31 -04:00
parent 2391224477
commit e3938aa814
No known key found for this signature in database
GPG Key ID: F22BB8158EE30EAB
1 changed files with 1 additions and 0 deletions

View File

@ -88,6 +88,7 @@ if HAS_CCJAR
$(JAVA) -jar $(compiler) \ $(JAVA) -jar $(compiler) \
--externs $(path_tools)/externs-global.js \ --externs $(path_tools)/externs-global.js \
--externs $(path_build)/externs-internal.js \ --externs $(path_build)/externs-internal.js \
--language_in=ECMASCRIPT5_STRICT \
--js $< >> $@ || rm $@ --js $< >> $@ || rm $@
else else
@echo "cannot create $@:" @echo "cannot create $@:"