| Name: Closure compiler |
| Short Name: closure-compiler |
| URL: http://github.com/google/closure-compiler |
| Version: v20140730-78-g541c2dc |
| Date: 2014/08/08 17:22 |
| Revision: 541c2dc622c985ede61937a767ab9f3bbd68cde2 |
| 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: |
| - The compiler is run via a custom mechanism (see: runner/) that sets the |
| compiler to "IDE mode" (single-file checks, doesn't stop on first error). |
| - Chrome-specific coding conventions to understand cr.addSingletonGetter(). |
| - 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. |