From 5bc56d61f415054f2e8977e96ec246612ead60ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=9D=E3=83=BC=E3=83=AB=20=E3=82=A6=E3=82=A7=E3=83=83?= =?UTF-8?q?=E3=83=96?= Date: Wed, 27 Jun 2018 17:00:24 -0500 Subject: [PATCH] Cleanup --- content/.vuepress/config.js | 37 ++++++++++++++++------------------ content/.vuepress/event-bus.js | 7 +++---- 2 files changed, 20 insertions(+), 24 deletions(-) diff --git a/content/.vuepress/config.js b/content/.vuepress/config.js index b6821e6..d38c064 100644 --- a/content/.vuepress/config.js +++ b/content/.vuepress/config.js @@ -1,28 +1,25 @@ // .vuepress/config.js -module.exports = { - base: '/', - title: 'LBRY.tech', +module.exports = exports = { + base: "/", + title: "LBRY.tech", head: [ - ['meta', {name: 'viewport', content: 'initial-scale=1, viewport-fit=cover'}], - ['link', {rel: 'mask-icon', href: '/favicon.svg', color: '#222'}] + ["meta", { name: "viewport", content: "initial-scale=1, viewport-fit=cover" }], + ["link", { rel: "mask-icon", href: "/favicon.svg", color: "#222" }] ], themeConfig: { - repo: 'lbryio/lbry.tech', - docsBranch: 'master/content', - editLinkText: 'Edit this page on Github' + repo: "lbryio/lbry.tech", + docsBranch: "master/content", + editLinkText: "Edit this page on Github" }, - ga: 'UA-60403362-1', + ga: "UA-60403362-1", markdown: { - config: md => { - var wikilinks = require('markdown-it-wikilinks')({ - makeAllLinksAbsolute: true, - baseURL: '/glossary.html#', - uriSuffix: '', - htmlAttributes: { - class: 'wikilink' - } - }); - md.use(wikilinks); - } + config: md => md.use(require("markdown-it-wikilinks")({ + makeAllLinksAbsolute: true, + baseURL: "/glossary.html#", + uriSuffix: "", + htmlAttributes: { + class: "wikilink" + } + })) } } diff --git a/content/.vuepress/event-bus.js b/content/.vuepress/event-bus.js index e2171d7..2cf9835 100644 --- a/content/.vuepress/event-bus.js +++ b/content/.vuepress/event-bus.js @@ -1,5 +1,4 @@ -import Vue from 'vue' +import Vue from "vue"; +const EventBus = new Vue(); -var EventBus = new Vue(); - -export default EventBus +export default EventBus;