From b19e180a455a6a12e2229e0b65810f900ba8d211 Mon Sep 17 00:00:00 2001 From: Artur Parkhisenko Date: Wed, 20 Sep 2017 21:24:29 +0300 Subject: [PATCH] Fix typos and jsdoc (#4846) --- lib/legacy/legacy-element-mixin.html | 2 +- lib/mixins/property-effects.html | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/legacy/legacy-element-mixin.html b/lib/legacy/legacy-element-mixin.html index 742bbf9907..4c64e86f1f 100644 --- a/lib/legacy/legacy-element-mixin.html +++ b/lib/legacy/legacy-element-mixin.html @@ -247,7 +247,7 @@ * * @param {string} property Property name to reflect. * @param {string=} attribute Attribute name to reflect. - * @param {*=} value Property value to refect. + * @param {*=} value Property value to reflect. */ reflectPropertyToAttribute(property, attribute, value) { this._propertyToAttribute(property, attribute, value); diff --git a/lib/mixins/property-effects.html b/lib/mixins/property-effects.html index b88ed2e1b3..62aef36650 100644 --- a/lib/mixins/property-effects.html +++ b/lib/mixins/property-effects.html @@ -1720,7 +1720,7 @@ * this.items.splice(1, 1, {name: 'Sam'}); * this.items.push({name: 'Bob'}); * this.notifySplices('items', [ - * { index: 1, removed: [{name: 'Todd'}], addedCount: 1, obect: this.items, type: 'splice' }, + * { index: 1, removed: [{name: 'Todd'}], addedCount: 1, object: this.items, type: 'splice' }, * { index: 3, removed: [], addedCount: 1, object: this.items, type: 'splice'} * ]); * @@ -2420,6 +2420,8 @@ * @param {Element} node Node to parse * @param {TemplateInfo} templateInfo Template metadata for current template * @param {NodeInfo} nodeInfo Node metadata for current template node + * @param {string} name Attribute name + * @param {string} value Attribute value * @return {boolean} `true` if the visited node added node-specific * metadata to `nodeInfo` * @protected