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
Rodolphe Breard 7d9a97558c code styling
2014-11-06 18:52:14 +01:00

21 lines
488 B
JavaScript

var chromesoul = (function() {
var chromesoul = {
"opts": new OptionsManager(),
"ui": new Nsui(),
"contacts": new ContactList(),
"client": new Client(),
"avatars": new AvatarManager()
};
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();
});