Anton Shestakov <av6@dwimlabs.net>, Sat, 16 Sep 2017 22:56:54 +0800
provision: it's probably safe to forget about Python 2.6 in 2017
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: @)