Views already have a #remove()
This commit is contained in:
parent
db86abdf70
commit
230d24a69e
1 changed files with 0 additions and 4 deletions
|
@ -31,10 +31,6 @@ var Whisper = Whisper || {};
|
||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
|
|
||||||
remove: function() {
|
|
||||||
this.$el.remove();
|
|
||||||
},
|
|
||||||
|
|
||||||
formatTimestamp: function() {
|
formatTimestamp: function() {
|
||||||
var timestamp = this.model.get('timestamp');
|
var timestamp = this.model.get('timestamp');
|
||||||
var now = new Date().getTime();
|
var now = new Date().getTime();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue