summaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
authorWu Cheng-Han2016-12-19 16:28:59 +0800
committerWu Cheng-Han2016-12-19 16:28:59 +0800
commit92f2a4acf05505ae2fbfd2d3c11ef30e4746971c (patch)
treee81466332d4bdb1f9f386d1b3d46e5236651e728 /public/js
parent276d500406ed7d6de6cac450264623f3ed928a0a (diff)
Remove unused vendor code and add fix related usages
Diffstat (limited to '')
-rw-r--r--public/js/extra.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/js/extra.js b/public/js/extra.js
index a4eed879..61433528 100644
--- a/public/js/extra.js
+++ b/public/js/extra.js
@@ -903,7 +903,7 @@ md.use(require('markdown-it-mark'));
md.use(require('markdown-it-ins'));
md.use(require('markdown-it-sub'));
md.use(require('markdown-it-sup'));
-md.use(require('../vendor/markdown-it-mathjax'));
+md.use(require('markdown-it-mathjax'));
md.use(require('markdown-it-imsize'));
md.use(require('markdown-it-emoji'), {
@@ -980,7 +980,7 @@ md.renderer.rules.fence = function (tokens, idx, options, env, self) {
};
/* Defined regex markdown it plugins */
-require('script!../vendor/markdown-it-regexp');
+var Plugin = require('markdown-it-regexp');
//youtube
var youtubePlugin = new Plugin(