소스 검색

correction for reveal api

Hakim El Hattab 5 년 전
부모
커밋
9336fc11ca
3개의 변경된 파일12개의 추가작업 그리고 12개의 파일을 삭제
  1. 1 1
      dist/reveal.css
  2. 1 1
      dist/reveal.min.js
  3. 10 10
      js/reveal.js

+ 1 - 1
dist/reveal.css

@@ -1,5 +1,5 @@
 /*!
 /*!
-* reveal.js 4.0.0-dev (Mon Mar 09 2020)
+* reveal.js 4.0.0-dev (Tue Mar 10 2020)
 * https://revealjs.com
 * https://revealjs.com
 * MIT licensed
 * MIT licensed
 *
 *

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1 - 1
dist/reveal.min.js


+ 10 - 10
js/reveal.js

@@ -4065,9 +4065,9 @@ export default function( revealElement, options ) {
 		navigateNext: navigateNext,
 		navigateNext: navigateNext,
 
 
 		// Fragment methods
 		// Fragment methods
-		navigateFragment: () => fragments.goto.bind( fragments ),
-		prevFragment: () => fragments.prev.bind( fragments ),
-		nextFragment: () => fragments.next.bind( fragments ),
+		navigateFragment: fragments.goto.bind( fragments ),
+		prevFragment: fragments.prev.bind( fragments ),
+		nextFragment: fragments.next.bind( fragments ),
 
 
 		// Forces an update in slide layout
 		// Forces an update in slide layout
 		layout,
 		layout,
@@ -4099,14 +4099,14 @@ export default function( revealElement, options ) {
 		isLastVerticalSlide,
 		isLastVerticalSlide,
 
 
 		// State checks
 		// State checks
-		isOverview: () => overview.isActive.bind( overview ),
+		isOverview: overview.isActive.bind( overview ),
 		isPaused,
 		isPaused,
 		isAutoSliding,
 		isAutoSliding,
 		isSpeakerNotes,
 		isSpeakerNotes,
 
 
 		// Slide preloading
 		// Slide preloading
-		loadSlide: () => slideContent.load.bind( slideContent ),
-		unloadSlide: () => slideContent.unload.bind( slideContent ),
+		loadSlide: slideContent.load.bind( slideContent ),
+		unloadSlide: slideContent.unload.bind( slideContent ),
 
 
 		// Adds or removes all internal event listeners (such as keyboard)
 		// Adds or removes all internal event listeners (such as keyboard)
 		addEventListeners,
 		addEventListeners,
@@ -4173,12 +4173,12 @@ export default function( revealElement, options ) {
 		},
 		},
 
 
 		// API for registering and retrieving plugins
 		// API for registering and retrieving plugins
-		registerPlugin: () => plugins.registerPlugin.bind( plugins ),
-		hasPlugin: () => plugins.hasPlugin.bind( plugins ),
-		getPlugin: () => plugins.getPlugin.bind( plugins ),
+		registerPlugin: plugins.registerPlugin.bind( plugins ),
+		hasPlugin: plugins.hasPlugin.bind( plugins ),
+		getPlugin: plugins.getPlugin.bind( plugins ),
 
 
 		// Returns a hash with all registered plugins
 		// Returns a hash with all registered plugins
-		getPlugins: () => plugins.getRegisteredPlugins.bind( plugins ),
+		getPlugins: plugins.getRegisteredPlugins.bind( plugins ),
 
 
 		getComputedSlideSize,
 		getComputedSlideSize,
 
 

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.