Anton Shestakov <av6@dwimlabs.net>, Sat, 14 Jul 2018 20:23:13 +0800
index: authorizing contact also adds it to the roster
Maybe there are cases when this doesn't make sense, but so far this looks like
the right thing to do.
coffee/progress.coffee
Permissions: -rw-r--r--
class window.Tram.ProgressApp extends Backbone.View @listenTo(@model, 'change:progress', @updateProgress) 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: @)