Commit f990a4a8 authored by Sébastien Chopin's avatar Sébastien Chopin

Add point in comments.

parent 67be50ca
......@@ -7,8 +7,8 @@
// Our basic **Todo** model has `title`, `order`, and `completed` attributes.
window.app.Todo = Backbone.Model.extend({
// Default attributes for the todo.
// Ensure that each todo created has `title` and `completed` keys
// Default attributes for the todo
// and ensure that each todo created has `title` and `completed` keys.
defaults: {
title: '',
completed: false
......
......@@ -70,7 +70,7 @@ $(function() {
}
},
// Remove the item, destroy the model from *localStorage* and delete its view
// Remove the item, destroy the model from *localStorage* and delete its view.
clear: function() {
this.model.destroy();
}
......
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