From a55e248ddd1a1cfcbd0a567ab21d2aee42013fd0 Mon Sep 17 00:00:00 2001 From: Russell Bicknell Date: Mon, 13 Apr 2020 18:22:07 -0700 Subject: [PATCH] Typos and other minor changes. --- CHANGELOG.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f86e67bfb..bd854b3fb0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -74,7 +74,7 @@ This update to Polymer includes some new [global settings](https://polymer-libra computeC(a, b) { console.log('Computing c...'); - return a * 2 + b * 2; + return (a + b) * 2; } } @@ -99,7 +99,7 @@ This update to Polymer includes some new [global settings](https://polymer-libra - First, `fastDomIf` requires that every `` is in the shadow root of a Polymer element: you can't use a `` directly in the main document or inside a shadow root of an element that doesn't extend `PolymerElement`. - - Second, because the `fastDomIf` implementation of `` doesn't include its own template stamping features, it doesn't create its own scope for property effects. This means that any properties you were previously setting on the `` will no longr be applied within its template, only properties of the host element are available. + - Second, because the `fastDomIf` implementation of `` doesn't include its own template stamping features, it doesn't create its own scope for property effects. This means that any properties you were previously setting on the `` will no longer be applied within its template, only properties of the host element are available. **Should I use it?** This setting is recommended as long as your app doesn't use `` as described in the section above. @@ -111,7 +111,7 @@ This update to Polymer includes some new [global settings](https://polymer-libra - `suppressTemplateNotifications` / `setSuppressTemplateNotifications` - **What does it do?** This setting causes `` and `` not to dispatch `dom-change` events when their rendered content is updated. If you're using lots of `` and `` but not listening for these events, this setting lets you disable them and their associated propagation work. + **What does it do?** This setting causes `` and `` not to dispatch `dom-change` events when their rendered content is updated. If you're using lots of `` and `` but not listening for these events, this setting lets you disable them and their associated dispatch work. You can override the global setting for an individual `` or `` by setting its `notify-dom-change` boolean attribute: @@ -165,7 +165,7 @@ This update to Polymer includes some new [global settings](https://polymer-libra **What does it do?** If your application is uses [pre-built Shady CSS styles](https://github.com/polymer/polymer-css-build) and your browser supports [constructable stylesheet objects](https://wicg.github.io/construct-stylesheets/), this setting will cause Polymer to extract all `