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/chromesoul.js

22 lines
488 B
JavaScript
Raw Normal View History

2013-02-27 15:37:08 +01:00
var chromesoul = (function() {
var chromesoul = {
2014-11-06 18:52:14 +01:00
"opts": new OptionsManager(),
"ui": new Nsui(),
"contacts": new ContactList(),
"client": new Client(),
"avatars": new AvatarManager()
2013-02-27 15:37:08 +01:00
};
2012-10-21 19:46:23 +02:00
2013-02-27 15:37:08 +01:00
return (window.chromesoul = window.$cs = chromesoul);
})();
$cs.opts.init();
$cs.ui.init();
$cs.client.init(new NsClient(), $cs.ui);
$cs.contacts.init();
$cs.ui.setReconnect(function() {
$cs.client.disconnect();
$cs.client.connect();
2012-11-07 10:53:48 +01:00
});