1
0
mirror of https://github.com/falk-werner/webfuse synced 2025-06-13 12:54:15 +00:00

fixes some javascript style issues

This commit is contained in:
Falk Werner 2019-04-14 19:48:44 +02:00
parent 0bb369caca
commit 8158e70a31

View File

@ -27,7 +27,7 @@ export class Client {
} }
_invokeRequest(method, params) { _invokeRequest(method, params) {
this._id++; this._id += 1;
const id = this._id; const id = this._id;
const request = {method, params, id}; const request = {method, params, id};
@ -80,7 +80,7 @@ export class Client {
if (id in this._pendingRequests) { if (id in this._pendingRequests) {
result = this._pendingRequests[id]; result = this._pendingRequests[id];
delete this._pendingRequests[id]; Reflect.deleteProperty(this._pendingRequests, id);
} }
return result; return result;