blob: d066888830b9bc9940b7667b80954072df20a927 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
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: ad656a1c6d0b837c4ffda52c88939cfcebd2bd29
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.
|