From 47d5efb29e086e8baef5debd1619b54c5b088005 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Tue, 29 Nov 2016 00:44:15 +0800 Subject: Fix slide resource path and style load orders to avoid conflicts --- public/js/slide.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'public/js') diff --git a/public/js/slide.js b/public/js/slide.js index fa4adcb5..4962470e 100644 --- a/public/js/slide.js +++ b/public/js/slide.js @@ -36,7 +36,7 @@ function extend() { // Optional libraries used to extend on reveal.js var deps = [{ - src: serverurl + '/vendor/reveal.js/lib/js/classList.js', + src: serverurl + '/build/reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } @@ -53,7 +53,7 @@ var deps = [{ $(".slides").show(); } }, { - src: serverurl + '/vendor/reveal.js/plugin/notes/notes.js', + src: serverurl + '/build/reveal.js/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; -- cgit v1.2.3