mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-22 15:56:17 -04:00
Partly replace _ =>
with () =>
globally to conform with Googles JavaScript style guide if no parameters are expected in arrow functions
This commit is contained in:
parent
d84c7d1f84
commit
d388f7e3cd
7 changed files with 87 additions and 87 deletions
2
index.js
2
index.js
|
@ -663,7 +663,7 @@ class Peer {
|
|||
return true;
|
||||
}
|
||||
this.requestRate += 1;
|
||||
setTimeout(_ => this.requestRate -= 1, 10000);
|
||||
setTimeout(() => this.requestRate -= 1, 10000);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue