43b171a9 | this.App = UI: |
1ec65f29 | setAutoHeight: -> |
43b171a9 | height = $(window).height() $("#height-setter-1").css({height: height - 50}) $("#height-setter-2").css({height: height - $('#tabbar').outerHeight() - $('#msg-writer').outerHeight() - 57}) |
ff94bdbf | Com: connect: -> App._dispatcher = new WebSocketRails('localhost:3000/websocket') |
70fc03c1 | App._dispatcher.trigger('app.roster.connect') |
ff94bdbf | fetch: (options) -> App._dispatcher.trigger(options.event, options.data, options.success, options.error) |