rename embed > embedded to signal that it's a state and not an action

master
Hakim El Hattab 2013-08-10 14:38:42 -04:00
parent 785bee596b
commit 81f762080b
2 changed files with 4 additions and 4 deletions

View File

@ -61,7 +61,7 @@ var Reveal = (function(){
// Flags if the presentation is running in an embedded mode, // Flags if the presentation is running in an embedded mode,
// i.e. contained within a limited portion of the screen // i.e. contained within a limited portion of the screen
embed: false, embedded: false,
// Number of milliseconds between automatically proceeding to the // Number of milliseconds between automatically proceeding to the
// next slide, disabled when set to 0, this value can be overwritten // next slide, disabled when set to 0, this value can be overwritten
@ -2377,7 +2377,7 @@ var Reveal = (function(){
// If we're embedded, only block touch events if they have // If we're embedded, only block touch events if they have
// triggered an action // triggered an action
if( config.embed ) { if( config.embedded ) {
if( touch.captured || isVerticalSlide( currentSlide ) ) { if( touch.captured || isVerticalSlide( currentSlide ) ) {
event.preventDefault(); event.preventDefault();
} }

4
js/reveal.min.js vendored

File diff suppressed because one or more lines are too long