The Wayback Machine - https://web.archive.org/web/20200501171651/https://github.com/google/closure-library
Skip to content
Google's common JavaScript library
JavaScript HTML CSS Python Shell Batchfile
Branch: master
Clone or download

Latest commit

koto and shicks RELNOTES: Use about:blank iframe instead of an iframe with an empty s…
…ource in goog.async.nextTick. Removed spurious document.write call.

PiperOrigin-RevId: 309126253
Latest commit d55cca5 Apr 29, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
closure-deps Bump version for compiler release May 1, 2020
closure RELNOTES: Use about:blank iframe instead of an iframe with an empty s… May 1, 2020
doc
scripts When installing closure-deps for testing, install the newest version … Mar 19, 2020
third_party/closure/goog/mochikit Defines `Deferred::getLastValueForMigration`. Apr 20, 2020
.gitignore RELNOTES: Add scripts to package.json for serving the tests and demos… May 1, 2020
.npmignore Remove promise/testsuiteadapter.js from published npm package Jan 28, 2020
.travis.yml Use Node.js v8 for Travis CI testing Oct 25, 2018
AUTHORS Fix bug: incorrect device pixel ratio Sep 6, 2016
CONTRIBUTING Fix typo in javascript/closure/CONTRIBUTING Jul 30, 2016
LICENSE Disabling tests that are failing in new browsers. There are bugs file… Apr 12, 2011
README.md Scrub bug numbers in TODO comments Nov 27, 2019
all_tests.html Remove reference to internal wiki page on external test runner. Aug 8, 2013
alltests.js Rename iterables package to iters Apr 23, 2020
browser_capabilities.js Add a bunch of missing license blocks and fix some lint warnings in v… Jul 4, 2018
package.json RELNOTES: Add scripts to package.json for serving the tests and demos… May 1, 2020
protractor.conf.js Add a bunch of missing license blocks and fix some lint warnings in v… Jul 4, 2018
protractor_spec.js Add a bunch of missing license blocks and fix some lint warnings in v… Jul 4, 2018
sauce_browsers.json RM IE10 too Mar 24, 2017

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();

Contributing

Please read the CONTRIBUTING for details on how to contribute to this project.

You can’t perform that action at this time.