Skip to content

Commit bc9d6c1

Browse files
refactor: fix typo
Closes socketio/socket.io-client#1354
1 parent 2ea0d13 commit bc9d6c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/transports/polling-xhr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ class Request extends Emitter {
228228
debug("xhr data %s", this.data);
229229
xhr.send(this.data);
230230
} catch (e) {
231-
// Need to defer since .create() is called directly fhrom the constructor
231+
// Need to defer since .create() is called directly from the constructor
232232
// and thus the 'error' event can only be only bound *after* this exception
233233
// occurs. Therefore, also, we cannot throw here at all.
234234
setTimeout(function() {

0 commit comments

Comments
 (0)