diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2012-08-08 01:14:12 -0400 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2012-08-08 01:14:12 -0400 |
commit | 25ad8adc68600ba9e77cbd7255a104c004126e21 (patch) | |
tree | 236477a30dbb8b39b52ad9a0d8db05cb38c907bf /js/reveal.js | |
parent | 1efca069cb99cd446ddec9b9d144fa6ddb6de1f1 (diff) | |
download | fosdem-2018-presentation-25ad8adc68600ba9e77cbd7255a104c004126e21.tar fosdem-2018-presentation-25ad8adc68600ba9e77cbd7255a104c004126e21.tar.gz |
themes are now available as separate css files under css/theme/, old theme option in config is no longer supported (closes #104)
Diffstat (limited to 'js/reveal.js')
-rw-r--r-- | js/reveal.js | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/js/reveal.js b/js/reveal.js index 1394af0..daac537 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -1,5 +1,5 @@ /*! - * reveal.js 1.5 r15 + * reveal.js 1.5 r16 * http://lab.hakim.se/reveal-js * MIT licensed * @@ -39,9 +39,6 @@ var Reveal = (function(){ // Apply a 3D roll to links on hover rollingLinks: true, - // UI style - theme: 'default', // default/neon/beige - // Transition style transition: 'default' // default/cube/page/concave/linear(2d) }, @@ -155,7 +152,6 @@ var Reveal = (function(){ function configure() { if( supports3DTransforms === false ) { - // Fall back on the 2D transform theme 'linear' config.transition = 'linear'; } @@ -171,10 +167,6 @@ var Reveal = (function(){ dom.wrapper.classList.add( config.transition ); } - if( config.theme !== 'default' ) { - document.documentElement.classList.add( 'theme-' + config.theme ); - } - if( config.mouseWheel ) { document.addEventListener( 'DOMMouseScroll', onDocumentMouseScroll, false ); // FF document.addEventListener( 'mousewheel', onDocumentMouseScroll, false ); |