This repository has been archived on 2023-09-20. You can view files and clone it, but cannot push or open issues or pull requests.
chromesoul/start.js

21 lines
400 B
JavaScript
Raw Normal View History

2012-11-26 15:31:15 +01:00
var chromesoul = (function() {
var chromesoul = {
"opts": new OptionsManager(),
"ui": new Nsui(),
"contacts": new ContactList(),
2012-11-26 15:31:15 +01:00
"client": new NsClient()
};
2012-11-14 17:47:12 +01:00
2012-11-26 15:31:15 +01:00
return (window.chromesoul = window.$cs = chromesoul);
})();
2012-11-15 01:45:45 +01:00
2012-11-26 15:31:15 +01:00
$cs.opts.init();
$cs.ui.init();
$cs.client.init();
$cs.contacts.init();
2012-11-15 01:45:45 +01:00
2012-11-26 15:31:15 +01:00
$cs.ui.setReconnect(function() {
$cs.client.disconnect();
$cs.client.connect();
});