Views already have a #remove()
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user