Update gun.js

This commit is contained in:
Mark Nadal 2016-12-19 20:30:42 -08:00 committed by GitHub
parent bdcea8c0d1
commit 44fa4f3252

2
gun.js
View File

@ -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) {