fa20-bt/plugin
Florian Haas 078ba62050 Notes: Introduce alternate pacing timer, based on total presentation time
The current pacing timer operates on the assumption that there is
a default amount of time to be allocated to each slide, and that
individual slides can deviate from that default by specifying their
own data-timing attribute.

This patch introduces an alternate pacing method: by specifying
the totalTime configuration option, the presenter can set the total
time available to present. The pacing timer will then continue to
allocate the exact pacing time for slides that do have data-timing
set, as before. However, rather than applying the defaultTiming
constant to all others, it will

- Add up the time already allocated to slides via data-timing;
- subtract that from totalTime;
- divide the difference by the number of slides without data-timing set;
- apply the thus-calculated average to those slides.

totalTime has no default, and if both defaultTiming and totalTime are
set, totalTime wins. This preserves backward compatibility: if a
presenter has set defaultTiming and updates reveal.js, totalTime will
be null and defaultTiming is still applied to all slides without a
data-timing attribute. The presenter can then switch to the automatic
calculation, if desired, by setting a value for totalTime.
2019-05-12 20:10:06 +02:00
..
highlight fix numeric presence condition 2019-04-10 10:09:41 +02:00
markdown switch to monokai as default syntax highlight theme 2019-03-12 11:26:10 +01:00
math support for plugins where the init method doesn't return a Promise 2019-03-14 14:52:59 +01:00
multiplex Revert "impove randomness" 2019-02-18 15:17:30 +01:00
notes Notes: Introduce alternate pacing timer, based on total presentation time 2019-05-12 20:10:06 +02:00
notes-server speaker layouts in server side notes plugin 2016-09-21 14:10:45 +02:00
print-pdf Cleanup code style. 2018-02-08 11:22:01 +08:00
search add cmd/ctrl + arrow key shortcuts to first/last slides 2018-11-13 10:48:23 +01:00
zoom-js support for plugins where the init method doesn't return a Promise 2019-03-14 14:52:59 +01:00