mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
lint: Re-run eslint --fix
This commit is contained in:
parent
b02ab430fe
commit
c1ef12b8da
3 changed files with 3 additions and 3 deletions
|
@ -113,7 +113,7 @@ const reconnectionTries = {
|
||||||
|
|
||||||
nextTry() {
|
nextTry() {
|
||||||
// double the time to try to reconnect on every time reconnection fails
|
// double the time to try to reconnect on every time reconnection fails
|
||||||
const nextCounterFactor = Math.pow(2, this.counter);
|
const nextCounterFactor = 2 ** this.counter;
|
||||||
this.counter++;
|
this.counter++;
|
||||||
|
|
||||||
return nextCounterFactor;
|
return nextCounterFactor;
|
||||||
|
|
|
@ -55,7 +55,7 @@ const tsort = (edges) => {
|
||||||
Object.keys(nodes).forEach(visit);
|
Object.keys(nodes).forEach(visit);
|
||||||
|
|
||||||
return sorted;
|
return sorted;
|
||||||
}
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TEST
|
* TEST
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue