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
parent
2391224477
commit
e3938aa814
|
@ -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 $@:"
|
||||||
|
|
Loading…
Reference in New Issue