Skip to content
Google's common JavaScript library
Branch: master
Clone or download
shicks Preserve newlines in testrunner log
If an error is logged with new lines, it appears differently in the test results log than it does in the JS console. This is because empty lines generate empty divs that take up no space.

RELNOTES: Preserved newlines in testrunner log output

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=249347001
Latest commit 3524c35 May 22, 2019

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.