blob: 0d7abc65ac8318eb8ff1b0b8fe4fc25afad975fd [file] [log] [blame]
Name: Closure compiler
Short Name: closure-compiler
URL: http://github.com/google/closure-compiler
Version: v20150729-236-gad656a1
Date: 2015/08/26 08:46
Revision: 56aa496ea370f5101e5309e96685b82511278a28
License: Apache 2.0
License File: LICENSE
Security Critical: no
Description:
The Closure Compiler provides warnings for illegal JavaScript and warnings for
potentially dangerous operations, helping you to produce JavaScript that is less
buggy and easier to maintain.
Local modifications:
- A custom runner (see: runner/) to continue on errors, understand and enforce
Chrome-specific code, and do checks only (i.e. throw away output). See:
--enable-chrome-pass in runner.jar's arguments.
- third_party/closure_compiler/runner/src/com/google/javascript/jscomp/ChromePass.java
Added pass to handle namespace definition with cr.define(), object chain
creation with cr.exportPath(), property definition with
{cr|Object}.defineProperty() and public API generation with cr.makePublic().
See third_party/closure_compiler/runner/how_to_test_compiler_pass.md for
testing instructions on this pass.
- Use the script third_party/closure_compiler/bump_compiler_version to update
the versions of third_party/closure_compiler/compiler/compiler.jar and/or
third_party/closure_compiler/externs/chrome_extensions.js.
- Some externs here are for chrome-specific use; these primarily include the
*_private.js files.