Skip to content
Snippets Groups Projects
  1. Dec 19, 2019
  2. Dec 09, 2019
  3. Oct 18, 2019
  4. Oct 11, 2019
  5. Aug 22, 2019
  6. Jul 12, 2019
  7. Jul 08, 2019
  8. Jul 07, 2019
  9. Jul 05, 2019
  10. Jun 22, 2019
  11. Jun 10, 2019
  12. Jun 09, 2019
  13. Jun 07, 2019
  14. May 29, 2019
  15. May 27, 2019
  16. May 22, 2019
    • Florian Haas's avatar
      Notes: Weakly enforce a minimum allocated pacing time per slide · 23c12d73
      Florian Haas authored
      When using the totalTime-based pacing calculation, a presenter may
      inadvertently set totalTime and per-slide data-timing attributes in
      such a way that the pacing time for some slides is impossibly low or
      even negative.
      
      Add a check to ensure that the pacing on a slide never falls below a
      configurable minimum, defaulting to 0. Display an alert if the
      pacing for any slide(s) falls below the threshold.
      23c12d73
  17. May 20, 2019
  18. May 18, 2019
  19. May 13, 2019
  20. May 12, 2019
    • Florian Haas's avatar
      Notes: Introduce alternate pacing timer, based on total presentation time · 078ba620
      Florian Haas authored
      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.
      078ba620
Loading