瀏覽代碼

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

Hakim El Hattab 11 年之前
父節點
當前提交
81f762080b
共有 2 個文件被更改,包括 3 次插入3 次删除
  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();
 					}

文件差異過大導致無法顯示
+ 1 - 1
js/reveal.min.js


部分文件因文件數量過多而無法顯示