--- a/coffee/calls.coffee Sat Dec 03 12:32:39 2016 +0800
+++ b/coffee/calls.coffee Sat Dec 03 12:50:36 2016 +0800
@enableTracks(@model.get('remote/stream')?.getAudioTracks?(), not muted)
- @rivet = rivets.bind(@el, model: @model, view: this)
+ @rivet = rivets.bind(@el, model: @model, view: @)
--- a/coffee/contacts.coffee Sat Dec 03 12:32:39 2016 +0800
+++ b/coffee/contacts.coffee Sat Dec 03 12:50:36 2016 +0800
"color: white; background: #{ @colors[ci] };"
- @rivet = rivets.bind(@el, model: @model, view: this)
+ @rivet = rivets.bind(@el, model: @model, view: @)
"background: #{ @colors[show] || @colors['default'] };"
- @rivet = rivets.bind(@el, model: @model, view: this)
+ @rivet = rivets.bind(@el, model: @model, view: @)
av = new Tram.AvatarView(model: @model)
@$avatarColumn.prepend(av.render().el)
--- a/coffee/messages.coffee Sat Dec 03 12:32:39 2016 +0800
+++ b/coffee/messages.coffee Sat Dec 03 12:50:36 2016 +0800
@model.get('contact')?.get('d/handle') or @model.get('from')
- @rivet = rivets.bind(@el, model: @model, view: this)
+ @rivet = rivets.bind(@el, model: @model, view: @)
contact = @model.get('contact')
av = new Tram.AvatarView(model: contact)
--- a/coffee/sidebar.coffee Sat Dec 03 12:32:39 2016 +0800
+++ b/coffee/sidebar.coffee Sat Dec 03 12:50:36 2016 +0800
@model.trigger('action/disconnect')
- @rivet = rivets.bind(@el, model: @model, view: this)
+ @rivet = rivets.bind(@el, model: @model, view: @)