Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
chore(docs): fix eslint warnings (#4361)
* chore(docs): fix eslint warnings

* Update docs-mixin.js
  • Loading branch information
tmorehouse authored and jacobmllr95 committed Nov 8, 2019
1 parent 2779a0a commit 677de40
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 33 deletions.
52 changes: 26 additions & 26 deletions docs/pages/play.vue
Expand Up @@ -372,32 +372,6 @@ export default {
building: false
}
},
head() {
const title = `${this.title} | BootstrapVue`
const description = 'Interactively play and test BootstrapVue components online.'
return {
title,
meta: [
{
hid: 'og:title',
name: 'og:title',
property: 'og:title',
content: title
},
{
hid: 'og:description',
name: 'og:description',
property: 'og:description',
content: description
},
{
hid: 'description',
name: 'description',
content: description
}
]
}
},
computed: {
title() {
return 'Online Playground'
Expand Down Expand Up @@ -939,6 +913,32 @@ export default {
return raf(fn)
}
},
head() {
const title = `${this.title} | BootstrapVue`
const description = 'Interactively play and test BootstrapVue components online.'
return {
title,
meta: [
{
hid: 'og:title',
name: 'og:title',
property: 'og:title',
content: title
},
{
hid: 'og:description',
name: 'og:description',
property: 'og:description',
content: description
},
{
hid: 'description',
name: 'description',
content: description
}
]
}
}
}
</script>
14 changes: 7 additions & 7 deletions docs/plugins/docs-mixin.js
Expand Up @@ -71,13 +71,6 @@ export default {
}
},

head() {
return {
title: this.headTitle,
meta: this.headMeta
}
},

mounted() {
clearTimeout(this.scrollTimeout)
this.scrollTimeout = null
Expand Down Expand Up @@ -135,5 +128,12 @@ export default {
}, 100)
}
}
},

head() {
return {
title: this.headTitle,
meta: this.headMeta
}
}
}

0 comments on commit 677de40

Please sign in to comment.