Commit 9336fc11 authored by Hakim El Hattab's avatar Hakim El Hattab
Browse files

correction for reveal api

parent 492fc2bf
/*! /*!
* 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
* *
......
This diff is collapsed.
...@@ -4065,9 +4065,9 @@ export default function( revealElement, options ) { ...@@ -4065,9 +4065,9 @@ export default function( revealElement, options ) {
navigateNext: navigateNext, navigateNext: navigateNext,
// Fragment methods // Fragment methods
navigateFragment: () => fragments.goto.bind( fragments ), navigateFragment: fragments.goto.bind( fragments ),
prevFragment: () => fragments.prev.bind( fragments ), prevFragment: fragments.prev.bind( fragments ),
nextFragment: () => fragments.next.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 ) { ...@@ -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 ), loadSlide: slideContent.load.bind( slideContent ),
unloadSlide: () => slideContent.unload.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 ) { ...@@ -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 ), registerPlugin: plugins.registerPlugin.bind( plugins ),
hasPlugin: () => plugins.hasPlugin.bind( plugins ), hasPlugin: plugins.hasPlugin.bind( plugins ),
getPlugin: () => plugins.getPlugin.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,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment