Commit dd821d8f authored by Aaron Boushley's avatar Aaron Boushley

Remove TodoView#remove which does the same thing as the Backbone.View#remove function.

parent 28deda76
......@@ -145,11 +145,6 @@ $(function(){
if (e.keyCode == 13) this.close();
},
// Remove this view from the DOM.
remove: function() {
$(this.el).remove();
},
// Remove the item, destroy the model.
clear: function() {
this.model.clear();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment