diff options
author | Yukai Huang | 2016-10-11 14:52:45 +0800 |
---|---|---|
committer | Yukai Huang | 2016-10-11 14:52:45 +0800 |
commit | 06437ccaa995afc48e30154c136c4e485ac04ae7 (patch) | |
tree | 372e905b6b512f29977a7c59e84138b51ec47edb /public/views | |
parent | 3368b57b89add8a11a2ac3c0a4061c46c98deb9e (diff) |
Manage more packages with npm and webpack
Diffstat (limited to 'public/views')
-rw-r--r-- | public/views/foot.ejs | 3 | ||||
-rw-r--r-- | public/views/index.ejs | 8 | ||||
-rw-r--r-- | public/views/pretty.ejs | 2 | ||||
-rw-r--r-- | public/views/slide.ejs | 1 |
4 files changed, 1 insertions, 13 deletions
diff --git a/public/views/foot.ejs b/public/views/foot.ejs index 9ce320bc..4a9b1756 100644 --- a/public/views/foot.ejs +++ b/public/views/foot.ejs @@ -15,14 +15,12 @@ <% } else { %> <script src="<%- url %>/vendor/spin.js/spin.min.js" defer></script> <script src="<%- url %>/vendor/velocity/velocity.min.js" defer></script> -<script src="<%- url %>/vendor/socket.io-client/socket.io.js" defer></script> <script src="<%- url %>/vendor/js-yaml/dist/js-yaml.min.js" defer></script> <script type="text/javascript" src="<%- url %>/vendor/MathJax/MathJax.js?config=TeX-AMS-MML_HTMLorMML" defer></script> <script src="<%- url %>/vendor/moment/min/moment-with-locales.js" defer></script> <script src="<%- url %>/vendor/mermaid/dist/mermaid.min.js" defer></script> <% } %> <script src="<%- url %>/vendor/Idle.Js/build/idle.min.js" defer></script> -<script src="<%- url %>/vendor/lz-string/libs/lz-string.min.js" defer></script> <script src="<%- url %>/build/vendor.bundle.js" defer></script> <!--codemirror--> <script src="<%- url %>/vendor/codemirror/codemirror.min.js" defer></script> @@ -30,7 +28,6 @@ <script src="<%- url %>/vendor/inlineAttachment/codemirror.inline-attachment.js" defer></script> <script src="<%- url %>/vendor/codemirror-spell-checker/spell-checker.min.js" defer></script> <script src="<%- url %>/vendor/ot/ot.min.js" defer></script> -<script src="<%- url %>/vendor/xss/dist/xss.min.js" defer></script> <script src="<%- url %>/build/index.js" defer></script> <script src="<%- url %>/js/google-drive-upload.js" defer></script> <script src="<%- url %>/js/google-drive-picker.js" defer></script> diff --git a/public/views/index.ejs b/public/views/index.ejs index 79ee5ddc..c7bea341 100644 --- a/public/views/index.ejs +++ b/public/views/index.ejs @@ -185,6 +185,7 @@ <!-- Bootstrap core JavaScript ================================================== --> <!-- Placed at the end of the document so the pages load faster --> + <script src="<%- url %>/build/vendor.bundle.js" defer></script> <% if(useCDN) { %> <script src="//ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js" defer></script> <script src="//cdn.jsdelivr.net/velocity/1.2.3/velocity.min.js" defer></script> @@ -193,17 +194,10 @@ <script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.14.1/moment-with-locales.min.js" defer></script> <script src="//cdnjs.cloudflare.com/ajax/libs/js-url/2.3.0/url.min.js" defer></script> <% } else { %> - <script src="<%- url %>/build/vendor.bundle.js" defer></script> <script src="<%- url %>/vendor/velocity/velocity.min.js" defer></script> <script src="<%- url %>/vendor/select2/select2.min.js" defer></script> <script src="<%- url %>/vendor/moment/min/moment-with-locales.min.js" defer></script> - <script src="<%- url %>/vendor/js-url/url.min.js" defer></script> <% } %> - <script src="<%- url %>/vendor/js-cookie/src/js.cookie.js" defer></script> - <script src="<%- url %>/vendor/list.js/dist/list.min.js" defer></script> - <script src="<%- url %>/vendor/file-saver/FileSaver.min.js" defer></script> - <script src="<%- url %>/vendor/store-js/store.min.js" defer></script> - <script src="<%- url %>/vendor/lz-string/libs/lz-string.min.js" defer></script> <script src="<%- url %>/build/locale.js" defer></script> </body> diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs index 346cb272..6f13155a 100644 --- a/public/views/pretty.ejs +++ b/public/views/pretty.ejs @@ -96,8 +96,6 @@ <script src="<%- url %>/vendor/moment/min/moment-with-locales.js" defer></script> <script src="<%- url %>/vendor/mermaid/dist/mermaid.min.js" defer></script> <% } %> -<script src="<%- url %>/vendor/lz-string/libs/lz-string.min.js" defer></script> -<script src="<%- url %>/vendor/xss/dist/xss.min.js" defer></script> <script src="<%- url %>/js/reveal-markdown.js" defer></script> <script src="<%- url %>/build/public.js" defer></script> diff --git a/public/views/slide.ejs b/public/views/slide.ejs index 8c248917..b0c5ddbc 100644 --- a/public/views/slide.ejs +++ b/public/views/slide.ejs @@ -96,7 +96,6 @@ <script src="<%- url %>/vendor/moment/min/moment-with-locales.js" defer></script> <script src="<%- url %>/vendor/mermaid/dist/mermaid.min.js" defer></script> <% } %> - <script src="<%- url %>/vendor/xss/dist/xss.min.js" defer></script> <script src="<%- url %>/build/slide.js" defer></script> </body> |