v1.1.3
Improvements to the JavaScript library
gotalk.defaultResponderAddress
can now be set to a partial URL, like a path or a hostname without protocol. Examples of acceptable values:
ws://host/path
-- fully qualified. What was previously required.//host/path
-- match protocol script is served over (ws for http, wss for https)/path
-- automatic protocol and hostname script is served over/from
A warning message is now printed to the console when gotalk.developmentMode
is true and connection to gotalk websocket server fails, with a helpful message about gotalk.defaultResponderAddress
.
New property gotalk.developmentMode
can be set to true to enable aforementioned warning message. It also enables console.error
calls with full error information for handler exceptions and messaging errors. gotalk.developmentMode
defaults to true when the script is served from localhost, otherwise its value is false by default.