mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-21 09:35:44 -05:00
* Patch SockJS v1.4.0 to work with nw.js * Document how to upgrade SockJS in UPGRADING-SOCKJS.md
421 B
421 B
Upgrading SockJS
When SockJS needs to be upgraded, you will also need to patch it to work properly with nw.js. In the minified script, replace all instances of this:
.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})
With this:
.call(this,window)