Skip to content

Releases: adamcik/media-progress-timer

v3.0.0

25 Mar 11:34
Compare
Choose a tag to compare
  • Removed updateRate support from RAF mode and fallback mode.
  • Added fallbackTargetFrameRate setting to the setTimeout mode.
  • Use UMD loader pattern.
  • Use clearTimeout and cancelAnimationFrame to stop timer.
  • Stop triggering callback in set when timer is running. This avoids some unintended behaviours and makes the timer more well behaved.

v2.0.2

02 Apr 19:25
Compare
Choose a tag to compare
  • Redid demo page to make it interactive.
  • Added bootstrap CSS to demo.
  • Minor internal cleanups that get us a little more speed here and there.

v2.0.1

10 Mar 15:13
Compare
Choose a tag to compare
  • Round to position and duration to avoid sub-millisecond values.

v2.0.0

10 Mar 15:12
Compare
Choose a tag to compare
  • Includes breaking API changes, the new external API is:
    • set(position, duration)
    • start()
    • stop()
    • reset()
  • Unbreaks the setTimeout based fallbacks clock.
  • Adds checking or arguments, incorrect use should throw exceptions.
  • Timer state has been moved to an object to allow for "atomic" updates.
  • duration will now be Infinity when counting forever.
  • Updated demo and README.

v1.1.1

10 Mar 15:08
Compare
Choose a tag to compare
  • Fix bug in ProgressTimer.reset
  • Improve wording in README.

v1.1.0

10 Mar 15:07
Compare
Choose a tag to compare
  • Add ProgressTimer.resume()

v1.0.3

10 Mar 15:06
Compare
Choose a tag to compare
  • Fixed link in timer.js header.

v1.0.2

10 Mar 15:06
Compare
Choose a tag to compare
  • Replace tab with spaces in README

v1.0.1

10 Mar 15:05
Compare
Choose a tag to compare
  • Fixed package.json
  • Renamed options.fallback to options.disableRequestAnimationFrame
  • Updated README

v1.0.0

10 Mar 15:02
Compare
Choose a tag to compare

Based on http://jsfiddle.net/us0zschg/15/ which was used for prototyping most of the API and features.