fixed showing speaker's view with timings/pacing while serving the presentation from the file system
This commit is contained in:
parent
325162692e
commit
8468d82433
3 changed files with 141 additions and 77 deletions
16
js/reveal.js
16
js/reveal.js
|
@ -3901,6 +3901,20 @@
|
|||
|
||||
}
|
||||
|
||||
function getSlidesMetaInfo() {
|
||||
|
||||
var slides = getSlides();
|
||||
return slides.map( function (slide) {
|
||||
var meta = {};
|
||||
for( var i = 0; i < slide.attributes.length; i++ ) {
|
||||
var attribute = slide.attributes[ i ];
|
||||
meta[ attribute.name ] = attribute.value;
|
||||
}
|
||||
return meta;
|
||||
} );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves the total number of slides in this presentation.
|
||||
*
|
||||
|
@ -5252,6 +5266,8 @@
|
|||
// Returns an Array of all slides
|
||||
getSlides: getSlides,
|
||||
|
||||
getSlidesMetaInfo: getSlidesMetaInfo,
|
||||
|
||||
// Returns the total number of slides
|
||||
getTotalSlides: getTotalSlides,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue