Skip to content

Commit

Permalink
Unify tabs to spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
ilessiivi committed Sep 16, 2021
1 parent 64ab7fe commit 333896c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Eventizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,11 +215,11 @@ export default class extends EventTarget {
for (const [i, v] of this._events[event].entries()) {
if ((!callback || v.listener == callback) && v.useCapture == options) {
// console.log(`[event] Removed one callback from "${event}"`);
this._events[event].splice(i, 1);
this._events[event].splice(i, 1);
if (! callback) {
this._removeEventListener(event, v.listener, v);
} else {
break;
break;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/FlowChunk.js
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ export default class FlowChunk {
} else {
if (this.flowObj.opts.successStatuses.indexOf(this.xhr.status) > -1) {
// HTTP 200, perfect
// HTTP 202 Accepted - The request has been accepted for processing, but the processing has not been completed.
// HTTP 202 Accepted - The request has been accepted for processing, but the processing has not been completed.
return 'success';
} else if (this.flowObj.opts.permanentErrors.indexOf(this.xhr.status) > -1 ||
!isTest && this.retries >= this.flowObj.opts.maxChunkRetries) {
Expand Down

0 comments on commit 333896c

Please sign in to comment.