Skip to content

Latest commit

 

History

History

closure_compiler

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 53f3d8a41579c002ec656bb645ce5d54470f6e0b
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.