diff options
author | Yukai Huang | 2016-10-13 11:42:17 +0800 |
---|---|---|
committer | Yukai Huang | 2016-10-13 11:42:17 +0800 |
commit | 773c0ce39e2da7ea155949b5a6dae986a747e89a (patch) | |
tree | 40669290c9d3de36fa9a56c2af49b3c3a235429c /public/js | |
parent | 43c9f68b9a67fa7f5b3e5a7f0dc6d5f8c9114d20 (diff) |
Optimize common assets with CDN
* jquery
* lodash
* socket.io
* boostrap
Diffstat (limited to '')
-rw-r--r-- | public/js/index.js | 5 | ||||
-rw-r--r-- | public/js/public.js | 3 | ||||
-rw-r--r-- | public/js/slide.js | 3 |
3 files changed, 2 insertions, 9 deletions
diff --git a/public/js/index.js b/public/js/index.js index 626799c4..20a76ff1 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -1,9 +1,6 @@ /* jquery and jquery plugins */ require('../vendor/showup/showup'); -/* bootstrap */ -require('bootstrap/dist/css/bootstrap.css'); - require('prismjs/themes/prism.css'); require('highlight.js/styles/github-gist.css'); @@ -15,6 +12,8 @@ var saveAs = require('file-saver').saveAs; require('js-url'); require('randomcolor'); +var _ = require("lodash"); + var List = require('list.js'); var common = require('./common.js'); diff --git a/public/js/public.js b/public/js/public.js index 5fd3fd79..ac951804 100644 --- a/public/js/public.js +++ b/public/js/public.js @@ -1,9 +1,6 @@ /* jquery and jquery plugins */ require('../vendor/showup/showup'); -/* bootstrap */ -require('bootstrap/dist/css/bootstrap.css'); - require('prismjs/themes/prism.css'); require('highlight.js/styles/github-gist.css'); diff --git a/public/js/slide.js b/public/js/slide.js index 1f4892f9..257c60bb 100644 --- a/public/js/slide.js +++ b/public/js/slide.js @@ -1,6 +1,3 @@ -require('bootstrap/js/tooltip'); -require('bootstrap/dist/css/bootstrap.css'); - require('prismjs/themes/prism.css'); /* other vendors plugin */ |