From f040dfa3acbbd4fd23878ca80873f6cd67dc2a40 Mon Sep 17 00:00:00 2001 From: Shigma <1700011071@pku.edu.cn> Date: Fri, 15 Mar 2019 19:54:34 +0800 Subject: [PATCH] lint fix --- packages/@vuepress/core/lib/client/components/Content.js | 1 - packages/@vuepress/markdown/lib/highlight.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/@vuepress/core/lib/client/components/Content.js b/packages/@vuepress/core/lib/client/components/Content.js index 3acd9013f2..d682de4c70 100644 --- a/packages/@vuepress/core/lib/client/components/Content.js +++ b/packages/@vuepress/core/lib/client/components/Content.js @@ -1,4 +1,3 @@ -import Vue from 'vue' import { getPageAsyncComponent } from '../util' export default { diff --git a/packages/@vuepress/markdown/lib/highlight.js b/packages/@vuepress/markdown/lib/highlight.js index b1a4719017..9f1689a912 100644 --- a/packages/@vuepress/markdown/lib/highlight.js +++ b/packages/@vuepress/markdown/lib/highlight.js @@ -42,7 +42,7 @@ module.exports = (str, lang) => { if (lang === 'styl') { lang = 'stylus' } - + if (!prism.languages[lang]) { try { loadLanguages([lang])