fixed showing speaker's view with timings/pacing while serving the presentation from the file system
This commit is contained in:
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,
|
||||
|
||||
|
Reference in New Issue
Block a user