first attempt to centralize all devices timers in one...
...hash
... | ... |
@@ -46,6 +46,7 @@ var deviceClass = { |
46 | 46 |
m.role = substr(name, 0, 3); |
47 | 47 |
m.node = zkv.getNode(name, 1); |
48 | 48 |
m.data = {}; |
49 |
+ m.timers = {}; |
|
49 | 50 |
foreach (var v; ['Vx', 'Vy', 'Vr', 'Vglide']) |
50 | 51 |
m.data[v ~ '-visible'] = 1; |
51 | 52 |
foreach (var v; ['screen-object', 'screen-view', 'screen-size']) |