10

--language_in=ECMASCRIPT5是否有可能将命令行标志传递--jscomp_off=internetExplorerChecks给 Google Closure Compiler Service API?我在Service API Reference中找不到它。

作为参考,jscomp_off记录在警告中并language_in记录在JavaScript中。

4

1 回答 1

20

https://github.com/google/closure-compiler/wiki/Additional-Webservice-Options

您可以使用“语言”作为网络服务选项。通过 UI 添加:

// @language ECMASCRIPT5

到编译器配置注释块。

于 2012-04-19T15:18:32.127 回答