Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Resources for Closure Library

John Lenz edited this page Jan 5, 2018 · 4 revisions

Documentation

Documentation of the library exists on this wiki, on the github site, in the generated documentation.

But the most important documentation is in the source. The code is documented with [http://code.google.com/closure/compiler/docs/js-for-compiler.html JSDoc comments] -- each method, function, and class has its parameters documented with types, and the compiler enforces these types.

The book, Closure: The Definitive Guide, is available.

Larry Hosken wrote a Closure Library tutorial.

Closure Cheet Sheet: http://www.closurecheatsheet.com/

Closure Please http://closureplease.com/

Tools

Closure Library is closely tied to Closure Compiler, which, in addition to "minifying javascript", provides type checking, dead code removal, and more.

plovr is a Java build tool that dynamically recompiles !JavaScript and Closure Template code.

github.com/dturnbull/closure-script is a Ruby build tool that dynamically recompiles !JavaScript and Closure Template code. Also available as a JRuby jar.

protobuf-plugin-closure is a set of protoc compiler plugins adding support for closure-library goog.proto2.

closure-library-css-util is a CSS minification tool compatible with goog.setCssNameMapping(..., 'BY_WHOLE').

BrowserChannel Servers

github.com/dturnbull/browserchannel is a complete Ruby implementation.

libevent-browserchannel-server is a C++ server implementation.

Non-!BrowserChannel Comet

Minerva is a work in progress Comet server and client; the server uses Python+Twisted. It features the same robustness as !BrowserChannel.

Discussion Group

There is a discussion list where library authors and users can help answer questions.