From 3c473e60a67c70002c021add536b48234ca84196 Mon Sep 17 00:00:00 2001
From: Wu Cheng-Han
Date: Mon, 29 Jan 2018 13:09:52 +0800
Subject: Upgrade reveal.js to 3.6.0 and useCDN option for CSS include
---
package.json | 2 +-
public/views/slide.ejs | 9 ++++-----
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/package.json b/package.json
index 94107783..165fc7ee 100644
--- a/package.json
+++ b/package.json
@@ -104,7 +104,7 @@
"randomcolor": "^0.4.4",
"raphael": "git+https://github.com/dmitrybaranovskiy/raphael",
"request": "^2.79.0",
- "reveal.js": "^3.3.0",
+ "reveal.js": "~3.6.0",
"scrypt": "^6.0.3",
"select2": "^3.5.2-browserify",
"sequelize": "^3.28.0",
diff --git a/public/views/slide.ejs b/public/views/slide.ejs
index 942add4f..a9d2b708 100644
--- a/public/views/slide.ejs
+++ b/public/views/slide.ejs
@@ -15,16 +15,15 @@
-
-
-
<% if(useCDN) { %>
+
<%- include build/slide-header %>
<% } else { %>
+
<%- include build/slide-pack-header %>
<% } %>
@@ -91,8 +90,8 @@
<% if(useCDN) { %>
-
-
+
+
--
cgit v1.2.3