Browse Source

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

Hakim El Hattab 11 years ago
parent
commit
81f762080b
2 changed files with 3 additions and 3 deletions
  1. 2 2
      js/reveal.js
  2. 1 1
      js/reveal.min.js

+ 2 - 2
js/reveal.js

@@ -61,7 +61,7 @@ var Reveal = (function(){
 
 			// Flags if the presentation is running in an embedded mode,
 			// i.e. contained within a limited portion of the screen
-			embed: false,
+			embedded: false,
 
 			// Number of milliseconds between automatically proceeding to the
 			// 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
 				// triggered an action
-				if( config.embed ) {
+				if( config.embedded ) {
 					if( touch.captured || isVerticalSlide( currentSlide ) ) {
 						event.preventDefault();
 					}

File diff suppressed because it is too large
+ 1 - 1
js/reveal.min.js


Some files were not shown because too many files changed in this diff