mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
Update gun.js
This commit is contained in:
parent
bdcea8c0d1
commit
44fa4f3252
2
gun.js
2
gun.js
@ -2352,6 +2352,8 @@
|
||||
}
|
||||
|
||||
Client.isSupported = Client.WebSocket !== null;
|
||||
|
||||
if(!Client.isSupported){ return } // TODO: For now, don't do anything in browsers/servers that don't work. Later, use JSONP fallback and merge with server code?
|
||||
|
||||
// Ensure the protocol is correct.
|
||||
Client.formatURL = function (url) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user