updated copy in slides, added one that explains transitions

This commit is contained in:
Hakim El Hattab
2011-12-26 21:57:37 -08:00
parent 2c088681ec
commit 3fa01ab107
3 changed files with 24 additions and 13 deletions

View File

@ -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';