Skip to content

Watch 2.1.0

Latest
Compare
Choose a tag to compare
@JeffersonJales JeffersonJales released this 10 Mar 15:14
· 1 commit to master since this release

Hi, everyone!

New

  • JSDoc on all function and classes #1
  • Function watch_global_step : call all watches from global scope and call it step function.
  • WatchClass new property: is_globally_handled (Boolean)
  • WatchClass new functions: set_amount_time_max and is_global

set_amount_time_max : Change the max time of the Watch, can also reset the clock.
is_global : Check if the Watch is global or not.

Fix

  • watch_global_remove was not removing the watch from global scope #2

Changes to be aware of

  • WatchAlarmClass.set_amount_time now only takes 1 argument (was 2)
  • The default value of #macro WATCH_IS_GLOBAL_DEFAULT is now false