summaryrefslogtreecommitdiff
path: root/src/js/this.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/this.js')
-rw-r--r--src/js/this.js55
1 files changed, 55 insertions, 0 deletions
diff --git a/src/js/this.js b/src/js/this.js
new file mode 100644
index 0000000..57938a9
--- /dev/null
+++ b/src/js/this.js
@@ -0,0 +1,55 @@
1/*!
2 * configuation for this presentation
3 */
4
5// Full list of configuration options available here:
6// https://github.com/hakimel/reveal.js#configuration
7Reveal.initialize({
8 controls: true,
9 progress: true,
10 history: true,
11 center: true,
12 //width: 1500,
13
14
15 //theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
16 //transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/zoom/linear/fade/none
17
18 // Optional libraries used to extend on reveal.js
19 dependencies: [
20 {
21 src: '../lib/js/classList.js', condition: function () {
22 return !document.body.classList;
23 }
24 },
25 {
26 src: '../plugin/markdown/marked.js',
27 condition: function () {
28 return !!document.querySelector('[data-markdown]');
29 }
30 },
31 {
32 src: '../plugin/markdown/markdown.js',
33 condition: function () {
34 return !!document.querySelector('[data-markdown]');
35 }
36 },
37 {
38 src: '../plugin/highlight/highlight.js',
39 async: true,
40 condition: function () {
41 return !!document.querySelector('pre code');
42 },
43 callback: function () {
44 hljs.initHighlightingOnLoad();
45 }
46 },
47 {src: '../plugin/zoom-js/zoom.js', async: true},
48 {src: '../plugin/notes/notes.js', async: true}
49 ]
50});
51
52// footer displayed upon load, hides when slide changes
53Reveal.addEventListener('slidechanged', function(event) {
54 document.querySelector('.reveal .footer').style.display = 'none';
55});