themes are now available as separate css files under css/theme/, old theme option in config is no longer supported (closes #104)
This commit is contained in:
10
js/reveal.js
10
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 );
|
||||
|
Reference in New Issue
Block a user