@morr/vue3-head
Advanced tools
Comparing version 2.2.0 to 2.2.1
{ | ||
"name": "@morr/vue3-head", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "Manipulating the meta information of the head tag, a simple and easy way", | ||
@@ -5,0 +5,0 @@ "main": "vue-head.js", |
@@ -97,3 +97,10 @@ /* eslint-disable */ | ||
diffTitle.before = opt.complement | ||
let title = `${val.inner} ${val.separator || opt.separator} ${val.complement || opt.complement}` | ||
const complement = obj.complement === '' ? | ||
obj.complement : | ||
(obj.complement || opt.complement) | ||
const separator = obj.separator === '' ? | ||
obj.separator : | ||
(obj.separator || opt.separator) | ||
const title = `${val.inner} ${separator} ${complement}` | ||
window.document.title = title.trim() | ||
@@ -100,0 +107,0 @@ }, |
@@ -100,4 +100,11 @@ /* eslint-disable */ | ||
diffTitle.before = opt.complement | ||
var title = obj.inner + ' ' + (obj.separator || opt.separator) + | ||
' ' + (obj.complement || opt.complement) | ||
var complement = obj.complement === '' ? | ||
obj.complement : | ||
(obj.complement || opt.complement) | ||
var separator = obj.separator === '' ? | ||
obj.separator : | ||
(obj.separator || opt.separator) | ||
var title = obj.inner + ' ' + separator + ' ' + complement | ||
window.document.title = title.trim() | ||
@@ -104,0 +111,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34775
750