mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-09 11:42:24 +03:00
Fix typos
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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" `
|
||||
|
||||
Reference in New Issue
Block a user