We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3eff1ff commit 005bfcdCopy full SHA for 005bfcd
lib/main.js
@@ -57,7 +57,7 @@ function SockJS(url, protocols, options) {
57
} else if (typeof sessionId === 'number') {
58
this._generateSessionId = function() {
59
return random.string(sessionId);
60
- }
+ };
61
} else {
62
throw new TypeError("If sessionId is used in the options, it needs to be a number or a function.");
63
}
0 commit comments