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:
parent
0bb369caca
commit
8158e70a31
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user