From 4696679283b08559108e5c02ca4cdbfd203cca9e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 30 Apr 2013 17:33:17 -0700 Subject: revealjs template: use remotes by default, set defaults from query hash. --- default.revealjs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'default.revealjs') diff --git a/default.revealjs b/default.revealjs index f5f67f182..f0f16fcac 100644 --- a/default.revealjs +++ b/default.revealjs @@ -79,17 +79,16 @@ $endfor$ progress: true, history: true, center: true, - autoSlide: $if(duration)$$duration$$else$0$endif$, - theme: '$if(theme)$$theme$$else$default$endif$', // available themes are in /css/theme - transition: '$if(transition)$$transition$$else$default$endif$', // default/cube/page/concave/zoom/linear/fade/none + theme: '$if(theme)$$theme$$else$Reveal.getQueryHash().theme$endif$', // available themes are in /css/theme + transition: '$if(transition)$$transition$$else$Reveal.getQueryHash().transition$endif$', // default/cube/page/concave/zoom/linear/fade/none // Optional libraries used to extend on reveal.js dependencies: [ { src: '$revealjs-url$/lib/js/classList.js', condition: function() { return !document.body.classList; } }, { src: '$revealjs-url$/plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } }, -// { src: '$revealjs-url$/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }, -// { src: '$revealjs-url$/plugin/search/search.js', async: true, condition: function() { return !!document.body.classList; }, } -// { src: '$revealjs-url$/plugin/remotes/remotes.js', async: true, condition: function() { return !!document.body.classList; } } + { src: '$revealjs-url$/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }, +// { src: '$revealjs-url$/plugin/search/search.js', async: true, condition: function() { return !!document.body.classList; }, } + { src: '$revealjs-url$/plugin/remotes/remotes.js', async: true, condition: function() { return !!document.body.classList; } } ]}); -- cgit v1.2.3