Anton Shestakov <av6@dwimlabs.net>, Thu, 14 Apr 2016 18:44:28 +0800
index: send presence only after all preparations
Currently the preparations include getting server version and features, and
getting roster items.
coffee/progress.coffee
Permissions: -rw-r--r--
class window.Tram.ProgressApp extends Backbone.View @listenTo(@model, 'change:progress', @updateProgress) "width: #{ progress ? 0 }%;" switch @model.get('progress') if @model.get('progress') is 0 @model.set('progress', 10) if @model.get('progress') is 100 @rivet = rivets.bind(@el, model: @model, view: this)