Document zooming feature

edit
Dan Dascalescu 2012-10-14 23:15:41 -07:00
parent 4271677ea1
commit 20858d1f4c
1 changed files with 3 additions and 0 deletions

View File

@ -104,6 +104,8 @@ Reveal.initialize({
// Interpret Markdown in <section> elements // Interpret Markdown in <section> elements
{ src: 'lib/js/data-markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } }, { src: 'lib/js/data-markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'lib/js/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } }, { src: 'lib/js/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
// Zoom in and out with Alt+click
{ src: 'plugin/zoom-js/zoom.js', condition: function() { return !!document.body.classList; } },
// Speaker notes support // Speaker notes support
{ src: 'plugin/speakernotes/client.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } }, { src: 'plugin/speakernotes/client.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } },
{ src: '/socket.io/socket.io.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } }, { src: '/socket.io/socket.io.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } },
@ -231,3 +233,4 @@ You can change the appearance of the speaker notes by editing the file at `plugi
MIT licensed MIT licensed
Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se