This repository has been archived by the owner on Aug 1, 2024. It is now read-only.
Closure Library v20171203
New Additions
- Provide safe API for module loading.
- Add new HTML5.1 tags to
goog.dom.TagName
. - Add
goog.date.Date.fromIsoString()
andgoog.date.DateTime.fromIsoString()
for control over the return type. - Add
goog.dom.safe.setVideoSrc
- Changed zippy and animatedzippy to allow role override for improved accessibility.
- Implement a simple delegate system.
Backwards Incompatible Changes
- Add protected
getThumbCssClass
method togoog.ui.Slider
. - Disallow passing
string
orgoog.Uri
toJsonp
. - Delete deprecated API for module loading.
- Fix bug in
SliderBase
's drag handling while in RTL mode to correctly calculate the new slider value. - Delete deprecated
goog.editor.Field#setHtml
. - Change all non-mutating functions in
goog.array
to acceptIArrayLike
instead ofArray
. - Delete
goog.html.testing.testTypedStringEquality
.
Other Changes
- Remove the
goog.string
dependency fromgoog.asserts
. - new
WebChannelOptions.clientProfile
to support custom configs, e.g. for mobile/cellular clients. - Updated some
goog.testing.PropertyReplacer
examples to usereplace
instead ofset
, and pointed out the possible need forgoog.reflect.objectProperty
. WebChannel
supports dynamic timeout config for back-channel requests. This is a backward compatible change.- Fixed a bug to avoid starting traces with the same id.
- Use standard 'focusin' and 'focusout' events.
- Remove the delay between onload and test initialization.
- Fixed a bug in
goog.vec.Quaternion.fromRotationMatrix4
.