Open willin opened 8 years ago
var ws = null if (typeof WebSocket !== 'undefined') { ws = WebSocket } else if (typeof MozWebSocket !== 'undefined') { ws = MozWebSocket } else { ws = window.WebSocket || window.MozWebSocket } module.exports = ws
nativescript is some way like react native
and there is no window in it.
window
We are happy to accept a pull request that enable support for nativescript.
nativescript is some way like react native
and there is no
window
in it.