Skip to content

Latest commit

 

History

History
116 lines (92 loc) · 3.86 KB

CHANGELOG.md

File metadata and controls

116 lines (92 loc) · 3.86 KB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

0.10.0 - 2016-02-09

Changed

  • monitor can only be updated if it has been started before

Fixed

  • possible multiple calls to monitor listeners after stop event
  • publish 'stop' event if monitor is stopped in first update cycle

0.9.0 - 2016-01-12

Added

  • CommonJS compatibility
  • added config parameter precision to VisSense config object

Changed

  • Utils.percentage() does not round return value

0.8.3 - 2015-09-07

Fixed

  • EventStrategy adds listeners to referenceWindow

0.8.2 - 2015-06-11

Fixed

  • check computed style attribute "visibility" only once

0.8.1 - 2015-05-17

Changed

  • removed the banner from the minified file (a comment in the first row of the file vissense.min.js)

0.8.0 - 2015-04-15

Added

  • added support for defining a VisSense objects reference window
  • added function Utils.createVisibilityApi
  • added method VisSense.referenceWindow

0.7.0 - 2015-04-13

Added

  • added method VisMon.publish
  • added VisMon.Builder

0.6.1 - 2015-03-17

Fixed

  • prevent multiple executions of a throttled function

0.6.0 - 2015-03-16

Added

  • added function Utils.throttle

Changed

  • adapted EventStrategy to use Utils.throttle instead of Utils.debounce

Deprecated

  • deprecated EventStrategy option debounce - use throttle instead

0.5.0 - 2015-03-14

Added

  • added function VisSense.noConflict

Removed

  • removed deprecated method VisMon.use
  • removed deprecated method VisMon.onUpdate - use VisMon.on('update', ...)
  • removed deprecated method VisMon.onHidden - use VisMon.on('hidden', ...)
  • removed deprecated method VisMon.onVisible - use VisMon.on('visible', ...)
  • removed deprecated method VisMon.onFullyVisible - use VisMon.on('fullyvisible', ...)
  • removed deprecated method VisMon.onVisibilityChange - use VisMon.on('visibilitychange', ...)
  • removed deprecated method VisMon.onPercentageChange - use VisMon.on('percentagechange', ...)

Fixed

  • prevent emitting start/stop events if already started/stopped

0.4.0 - 2015-03-03

Added

  • added function Utils.once
  • added method VisSense.element
  • added method Strategy.init
  • added start and stop events to VisMon
  • added Utils.VisibilityApi
  • react on touchmove events in VisMon.EventStrategy

Changed

  • changed order of percentagechange event parameters
  • listeners on all events (including *) are only called once per even
  • template methods Strategy.start and Strategy.stop do not throw an error by default

Deprecated

  • deprecated Vismon.on<Event> - use Vismon.on('<Event>', ...) instead
  • deprecated VisMon.use

0.3.0 - 2015-02-08

Added

  • added Utils.async
  • added VisMon.startAsync
  • added constructor option visibilityHooks to VisSense

Removed

  • removed VisMon.NoopStrategy