From 3fa01ab1072cc85eb1043c0707843fae9fed0c75 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Mon, 26 Dec 2011 21:57:37 -0800 Subject: updated copy in slides, added one that explains transitions --- js/reveal.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'js') 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'; -- cgit v1.2.3