Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Reference for parent class

  • Loading branch information...
commit 5a4b3cbb677d8869113b93056645cf9dda7d1f8a 1 parent 15eaca6
David authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 assets/js/views/chat.js
View
7 assets/js/views/chat.js
@@ -1,9 +1,14 @@
var ChatView = Backbone.View.extend({
- initialize: function() {
+ initialize: function(modelRef) {
+ this.model = modelRef;
this.el = ich.chat();
this.render();
},
+ updateStatus: function(newStatus) {
+ this.$('#chat-bar').html(ich.titlebar({title: this.model.get('name')}));
+ },
+
render: function() {
$('.content').html(this.el);
this.handleInput();
Please sign in to comment.
Something went wrong with that request. Please try again.