From 06437ccaa995afc48e30154c136c4e485ac04ae7 Mon Sep 17 00:00:00 2001 From: Yukai Huang Date: Tue, 11 Oct 2016 14:52:45 +0800 Subject: Manage more packages with npm and webpack --- public/js/index.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'public/js/index.js') diff --git a/public/js/index.js b/public/js/index.js index 0c6bb03a..4bce2ff0 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -29,22 +29,19 @@ require('markdown-it-imsize'); /* other vendors plugin */ require('gist-embed'); require('string'); -require('highlight.js'); require('prismjs'); require('prismjs/components/prism-wiki'); -require('js-cookie'); require('to-markdown'); require('raphael'); require('js-sequence-diagrams'); require('flowchart.js'); -require('viz.js'); -require('file-saver'); +var saveAs = require('file-saver').saveAs; require('store'); require('js-url'); require('visibilityjs'); -require('list.js'); +var List = require('list.js'); require('../vendor/md-toc'); require('randomcolor'); -- cgit v1.2.3