Google's common JavaScript library
John Plaisted
John Plaisted Update the KeyHandler to account for Gecko rolling out a change to ke…
…ypress events such that keyCode is now set to charCode for non-function keys.

Closes #932.

WANT_LGTM=all

RELNOTES: Update Gecko key handling to account for keypress events have a keyCode equal to the charCode. Addresses #932.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=217773383
Latest commit 8da4a93 Oct 18, 2018
Permalink
Failed to load latest commit information.
closure-deps RELNOTES: Fix a loss-of-precision issue in `NumberFormat` that caused… Oct 8, 2018
closure Update the KeyHandler to account for Gecko rolling out a change to ke… Oct 18, 2018
doc trivial typo fix Aug 6, 2018
scripts Don't attempt to generate docs for goog.js for now. Dossier throws an… Oct 11, 2018
third_party/closure/goog Fix misleading comments on definitions of goog.async.Deferred.STRICT_… Mar 29, 2018
.gitignore Include the new google-closure-deps node module in the Closure Librar… Aug 6, 2018
.npmignore Include the new google-closure-deps node module in the Closure Librar… Aug 6, 2018
.travis.yml Do not connect to saucelabs Feb 20, 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 use syntax highlighting in README.md Jun 4, 2018
all_tests.html Remove reference to internal wiki page on external test runner. Aug 8, 2013
alltests.js Add @define goog.ASSUME_PROMISE to allow goog.async.run to use global… Sep 26, 2018
browser_capabilities.js Add a bunch of missing license blocks and fix some lint warnings in v… Jul 4, 2018
package.json New npm release at v20180910.0.0 Sep 19, 2018
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();