closure_compiler
Folders and files
Name | Name | 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: 1827c478053b125ddb6d18404a749e0c3b53725b 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.