panweitong 610c72b394 update %!s(int64=4) %!d(string=hai) anos
..
closure 610c72b394 update %!s(int64=4) %!d(string=hai) anos
doc 610c72b394 update %!s(int64=4) %!d(string=hai) anos
scripts 610c72b394 update %!s(int64=4) %!d(string=hai) anos
third_party 610c72b394 update %!s(int64=4) %!d(string=hai) anos
.gitignore 610c72b394 update %!s(int64=4) %!d(string=hai) anos
.travis.yml 610c72b394 update %!s(int64=4) %!d(string=hai) anos
AUTHORS 610c72b394 update %!s(int64=4) %!d(string=hai) anos
CONTRIBUTING 610c72b394 update %!s(int64=4) %!d(string=hai) anos
LICENSE 610c72b394 update %!s(int64=4) %!d(string=hai) anos
README.md 610c72b394 update %!s(int64=4) %!d(string=hai) anos
all_tests.html 610c72b394 update %!s(int64=4) %!d(string=hai) anos
alltests.js 610c72b394 update %!s(int64=4) %!d(string=hai) anos
browser_capabilities.js 610c72b394 update %!s(int64=4) %!d(string=hai) anos
package.json 610c72b394 update %!s(int64=4) %!d(string=hai) anos
protractor.conf.js 610c72b394 update %!s(int64=4) %!d(string=hai) anos
protractor_spec.js 610c72b394 update %!s(int64=4) %!d(string=hai) anos
sauce_browsers.json 610c72b394 update %!s(int64=4) %!d(string=hai) anos

README.md

Closure Library Build Status

Closure Library is a powerful, low-level JavaScript library designed for building complex and scalable web applications. It is used by many Google web applications, such as Google Search, Gmail, Google Docs, Google+, Google Maps, and others.

For more information, visit the Google Developers or GitHub sites.

Download the latest stable version on our releases page.

Developers, please see the Generated API Documentation.

See also the goog.ui Demos

Using with Node.js

Install the official package from npm.

npm install google-closure-library

Require the package and use goog.require normally.

require("google-closure-library");

goog.require("goog.crypt.Sha1");

var sha1 = new goog.crypt.Sha1();
sha1.update("foobar");
var hash = sha1.digest();