Commit d3a684a5 authored by JC Brand's avatar JC Brand

Move some functions outside of the `initialize` closure

parent 588b015e
This diff is collapsed.
......@@ -16,7 +16,7 @@
var connection = _converse.connection;
delete _converse.bosh_service_url;
delete _converse.connection;
expect(_converse.initConnection.bind(_converse)).toThrow(
expect(_converse.initConnection).toThrow(
new Error("initConnection: you must supply a value for either the bosh_service_url or websocket_url or both."));
_converse.bosh_service_url = url;
_converse.connection = connection;
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment