From 3c473e60a67c70002c021add536b48234ca84196 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Mon, 29 Jan 2018 13:09:52 +0800 Subject: [PATCH] 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 9410778..165fc7e 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 942add4..a9d2b70 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) { %> - - + +