2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-23 21:20:33 +03:00

Fix typos

This commit is contained in:
Alexander Lichter
2018-03-19 10:48:55 +01:00
parent 617500fe98
commit c101aa2f36
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -2,10 +2,10 @@ export default function _updateTagAttributes (options = {}) {
const { attribute } = 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 {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) { return function updateTagAttributes (attrs, tag) {
const vueMetaAttrString = tag.getAttribute(attribute) const vueMetaAttrString = tag.getAttribute(attribute)
+1 -1
View File
@@ -1,6 +1,6 @@
export default function _updateTitle () { export default function _updateTitle () {
/** /**
* updates the document title * Updates the document title
* *
* @param {String} title - the new title of the document * @param {String} title - the new title of the document
*/ */
+1 -1
View File
@@ -39,7 +39,7 @@ export default function _tagGenerator (options = {}) {
// these tag types will have content inserted // these tag types will have content inserted
const closed = ['noscript', 'script', 'style'].indexOf(type) === -1 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 const observeTag = tag.once
? '' ? ''
: `${attribute}="true" ` : `${attribute}="true" `