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 5ab8769 commit a6c9bc6Copy full SHA for a6c9bc6
lib/sockjs.js
@@ -7,7 +7,7 @@
7
*/
8
9
var SockJS = function(url, dep_protocols_whitelist, options) {
10
- if (this === window) {
+ if (this === _window) {
11
// makes `new` optional
12
return new SockJS(url, dep_protocols_whitelist, options);
13
}
0 commit comments