app/assets/javascripts/backbone-ws.js.coffee
ff94bdbf
 #= require websocket_rails/main
b27f285a
 #= require hamlcoffee
4badacca
 #= require json2
ff94bdbf
 #= require underscore
 #= require backbone
 #= require backbone/xmpp
619ceb7d
 #= require i18n
 #= require i18n/translations
b27f285a
 #= require _main
 #= require chat
 
feb9b0da
 #aa = new Xmpp.Views.Popup.NewAccountView()
 #aa.render();
589014c7
 
9234acc2
 App.Com.connect( (connected_jid) ->
5011e360
   App.Com.initRoster(->
     App.Com.startFetchingVcards()
     App.Com.startPollingRoster()
     App.Com.setPresence()
d4872cda
 
5011e360
     App.Com.getMe()
     App.Com.startPollingMessages()
   )
b27f285a
 )