From c101aa2f36f7721ed89da694ea20fa1ab78e9318 Mon Sep 17 00:00:00 2001 From: Alexander Lichter Date: Mon, 19 Mar 2018 10:48:55 +0100 Subject: [PATCH] Fix typos --- src/client/updaters/updateTagAttributes.js | 4 ++-- src/client/updaters/updateTitle.js | 2 +- src/server/generators/tagGenerator.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client/updaters/updateTagAttributes.js b/src/client/updaters/updateTagAttributes.js index 81308f5..fef6d2c 100644 --- a/src/client/updaters/updateTagAttributes.js +++ b/src/client/updaters/updateTagAttributes.js @@ -2,10 +2,10 @@ export default function _updateTagAttributes (options = {}) { const { attribute } = options /** - * updates the document's html tag attributes + * Updates the document's html tag attributes * * @param {Object} attrs - the new document html attributes - * @param {HTMLElement} tag - the HTMLElment tag to update with new attrs + * @param {HTMLElement} tag - the HTMLElement tag to update with new attrs */ return function updateTagAttributes (attrs, tag) { const vueMetaAttrString = tag.getAttribute(attribute) diff --git a/src/client/updaters/updateTitle.js b/src/client/updaters/updateTitle.js index 1787fbb..ab3d26d 100644 --- a/src/client/updaters/updateTitle.js +++ b/src/client/updaters/updateTitle.js @@ -1,6 +1,6 @@ export default function _updateTitle () { /** - * updates the document title + * Updates the document title * * @param {String} title - the new title of the document */ diff --git a/src/server/generators/tagGenerator.js b/src/server/generators/tagGenerator.js index 426a563..dd4ecab 100644 --- a/src/server/generators/tagGenerator.js +++ b/src/server/generators/tagGenerator.js @@ -39,7 +39,7 @@ export default function _tagGenerator (options = {}) { // these tag types will have content inserted const closed = ['noscript', 'script', 'style'].indexOf(type) === -1 - // generate tag exactly without any other redundance attribute + // generate tag exactly without any other redundant attribute const observeTag = tag.once ? '' : `${attribute}="true" `