From e80572bca8d345056862235a41597d8b2540e68b Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Sat, 1 Aug 2015 13:49:51 +1000 Subject: Template the talks! --- src/js/this.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/js') diff --git a/src/js/this.js b/src/js/this.js index 57938a9..624b00e 100644 --- a/src/js/this.js +++ b/src/js/this.js @@ -18,24 +18,24 @@ Reveal.initialize({ // Optional libraries used to extend on reveal.js dependencies: [ { - src: '../lib/js/classList.js', condition: function () { + src: '/lib/js/classList.js', condition: function () { return !document.body.classList; } }, { - src: '../plugin/markdown/marked.js', + src: '/plugin/markdown/marked.js', condition: function () { return !!document.querySelector('[data-markdown]'); } }, { - src: '../plugin/markdown/markdown.js', + src: '/plugin/markdown/markdown.js', condition: function () { return !!document.querySelector('[data-markdown]'); } }, { - src: '../plugin/highlight/highlight.js', + src: '/plugin/highlight/highlight.js', async: true, condition: function () { return !!document.querySelector('pre code'); @@ -44,8 +44,8 @@ Reveal.initialize({ hljs.initHighlightingOnLoad(); } }, - {src: '../plugin/zoom-js/zoom.js', async: true}, - {src: '../plugin/notes/notes.js', async: true} + {src: '/plugin/zoom-js/zoom.js', async: true}, + {src: '/plugin/notes/notes.js', async: true} ] }); -- cgit v1.2.3