1
0
Fork 0

tweaks and comments

This commit is contained in:
Hakim El Hattab 2020-04-06 10:39:48 +02:00
parent 881146500c
commit 9ebf6249e7
4 changed files with 17 additions and 16 deletions

2
dist/reveal.min.js vendored
View File

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

View File

@ -1,15 +1,16 @@
/** /**
* UI component that lets the user control pause/resume * UI component that lets the use control auto-slide
* and see the progress of auto-slide playback. * playback via play/pause.
*
* @param {HTMLElement} container The component will append
* itself to this
* @param {function} progressCheck A method which will be
* called frequently to get the current progress on a range
* of 0-1
*/ */
export default class Playback { export default class Playback {
/**
* @param {HTMLElement} container The component will append
* itself to this
* @param {function} progressCheck A method which will be
* called frequently to get the current playback progress on
* a range of 0-1
*/
constructor( container, progressCheck ) { constructor( container, progressCheck ) {
// Cosmetics // Cosmetics

View File

@ -2494,7 +2494,7 @@ export default function( revealElement, options ) {
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
addEventListeners, addEventListeners,
removeEventListeners, removeEventListeners,
dispatchEvent, dispatchEvent,
@ -2515,8 +2515,8 @@ export default function( revealElement, options ) {
// Returns an Array of all slides // Returns an Array of all slides
getSlides, getSlides,
// Returns an Array of objects representing the attributes on // Returns an Array of key:value maps of the attributes of each
// the slides // slide in the deck
getSlidesAttributes, getSlidesAttributes,
// Returns the total number of slides // Returns the total number of slides

View File

@ -17,8 +17,8 @@ module.exports = {
presets: [ presets: [
[ '@babel/preset-env' ], [ '@babel/preset-env' ],
], ],
}, }
}, }
], ]
}, }
}; };