From 082178d535fd15a49d7157268c62f297af5a27ff Mon Sep 17 00:00:00 2001
From: Yukai Huang
Date: Mon, 10 Oct 2016 08:25:35 +0800
Subject: Slide mode is now working

---
 public/views/slide.ejs | 38 +++++---------------------------------
 1 file changed, 5 insertions(+), 33 deletions(-)

(limited to 'public/views')

diff --git a/public/views/slide.ejs b/public/views/slide.ejs
index 3c5498c6..1549989f 100644
--- a/public/views/slide.ejs
+++ b/public/views/slide.ejs
@@ -88,46 +88,18 @@
         <script src="https://cdnjs.cloudflare.com/ajax/libs/mermaid/6.0.0/mermaid.min.js" defer></script>
         <% } else { %>
         <script src="<%- url %>/vendor/jquery/dist/jquery.min.js"></script>
+        <script src="<%- url %>/vendor/reveal.js/lib/js/head.min.js"></script>
+        <script src="<%- url %>/vendor/reveal.js/js/reveal.js"></script>
         <script src="<%- url %>/vendor/velocity/velocity.min.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/bootstrap/tooltip.min.js"></script>
-        <script src="<%- url %>/vendor/reveal.js/lib/js/head.min.js"></script>
-        <script src="<%- url %>/vendor/reveal.js/js/reveal.js"></script>
         <script src="<%- url %>/vendor/xss/dist/xss.min.js" defer></script>
-        <script src="<%- url %>/vendor/markdown-it/dist/markdown-it.min.js" defer></script>
-        <script src="<%- url %>/vendor/markdown-it-abbr/dist/markdown-it-abbr.min.js" defer></script>
-        <script src="<%- url %>/vendor/markdown-it-footnote/dist/markdown-it-footnote.min.js" defer></script>
-        <script src="<%- url %>/vendor/markdown-it-deflist/dist/markdown-it-deflist.min.js" defer></script>
-        <script src="<%- url %>/vendor/markdown-it-mark/dist/markdown-it-mark.min.js" defer></script>
-        <script src="<%- url %>/vendor/markdown-it-ins/dist/markdown-it-ins.min.js" defer></script>
-        <script src="<%- url %>/vendor/markdown-it-sub/dist/markdown-it-sub.min.js" defer></script>
-        <script src="<%- url %>/vendor/markdown-it-sup/dist/markdown-it-sup.min.js" defer></script>
-        <script src="<%- url %>/vendor/markdown-it-container/dist/markdown-it-container.min.js" defer></script>
-        <script src="<%- url %>/vendor/markdown-it-mathjax.js" defer></script>
-        <script src="<%- url %>/vendor/markdown-it-regexp.js" defer></script>
-        <script src="<%- url %>/vendor/markdown-it-imsize.js" defer></script>
-        <script src="<%- url %>/vendor/gist-embed/gist-embed.min.js" defer></script>
-        <script src="<%- url %>/vendor/string/dist/string.min.js" defer></script>
-        <script src="<%- url %>/vendor/highlightjs/highlight.pack.min.js" defer></script>
-        <script src="<%- url %>/vendor/js-cookie/src/js.cookie.js" defer></script>
-        <script src="<%- url %>/vendor/emojify/js/emojify.min.js" defer></script>
-        <script src="<%- url %>/vendor/raphael/raphael.min.js" defer></script>
-        <script src="<%- url %>/vendor/lodash/dist/lodash.min.js" defer></script>
-        <script src="<%- url %>/vendor/sequence-diagrams/sequence-diagram-min.js" defer></script>
-        <script src="<%- url %>/vendor/flowchart/release/flowchart.min.js" defer></script>
-        <script src="<%- url %>/vendor/viz.js/viz.js" defer></script>
-        <script src="<%- url %>/vendor/pdfobject/pdfobject.min.js" defer></script>
-        <script src="<%- url %>/vendor/md-toc.js" defer></script>
-        <script src="<%- url %>/js/common.js" defer></script>
-        <script src="<%- url %>/js/extra.js" defer></script>
-        <script src="<%- url %>/js/render.js" defer></script>
-        <script src="<%- url %>/js/slide.js" defer></script>
-        
+        <script src="<%- url %>/build/slide.js" defer></script>
+
     </body>
 </html>
 
-<%- include ga %>
\ No newline at end of file
+<%- include ga %>
-- 
cgit v1.2.3