chird / meteoJS

Javascript Library for meteorological and atmospheric tools
Apache License 2.0
28 stars 6 forks source link

setReloadTime with some Bugs #25

Open chird opened 5 years ago

chird commented 5 years ago

https://github.com/chird/meteoJS/blob/995200f806690edb0de052c3e6e6d4de4094d93b/src/meteoJS/synview/resource.js#L125

  1. If resource is invisible and gets visible -> reload will not be started.
  2. Definition of exact behavior misses: Will a setReloadTime(...) start a new Timer-Event or will a setReloadTime(...) with same reloadTime-value as already set keep the old Timer-Event.