aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2011-12-26 21:57:37 -0800
committerHakim El Hattab <hakim.elhattab@gmail.com>2011-12-26 21:57:37 -0800
commit3fa01ab1072cc85eb1043c0707843fae9fed0c75 (patch)
treed56e912a159f1941b50afa3482fac84bc75b9e89 /js
parent2c088681ec7b38369c906866907daa80583b2bdf (diff)
downloadperl-software-in-gnu-guix-3fa01ab1072cc85eb1043c0707843fae9fed0c75.tar
perl-software-in-gnu-guix-3fa01ab1072cc85eb1043c0707843fae9fed0c75.tar.gz
updated copy in slides, added one that explains transitions
Diffstat (limited to 'js')
-rw-r--r--js/reveal.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/reveal.js b/js/reveal.js
index c3b5cc9..5f99770 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -134,6 +134,9 @@ var Reveal = (function(){
config.transition = options.transition === undefined ? 'default' : options.transition;
config.theme = options.theme === undefined ? 'default' : options.theme;
+ // Transition alias
+ if( config.transition === 'box' ) config.transition = 'cube';
+
// Fall back on the 2D transform theme 'linear'
if( supports3DTransforms === false ) {
config.transition = 'linear';