Browse Source

msg count in tribe push

feature/dockerfile-arm
Evan Feenstra 5 years ago
parent
commit
9423cb50a7
  1. 2
      api/hub.ts
  2. 2
      dist/api/hub.js
  3. 2
      dist/api/hub.js.map

2
api/hub.ts

@ -287,7 +287,7 @@ function debounce(func, id, delay) {
if(bounceTimeouts[id]) clearTimeout(bounceTimeouts[id])
if(tribeCounts[id]||tribeCounts[id]===0) tribeCounts[id]+=1
bounceTimeouts[id] = setTimeout(() => {
tribeCounts[id]=0
func.apply(context, args)
setTimeout(()=> tribeCounts[id]=0, 15)
}, delay)
}

2
dist/api/hub.js

@ -267,8 +267,8 @@ function debounce(func, id, delay) {
if (tribeCounts[id] || tribeCounts[id] === 0)
tribeCounts[id] += 1;
bounceTimeouts[id] = setTimeout(() => {
tribeCounts[id] = 0;
func.apply(context, args);
setTimeout(() => tribeCounts[id] = 0, 15);
}, delay);
}
//# sourceMappingURL=hub.js.map

2
dist/api/hub.js.map

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save