Commit f588bcde authored by Tomotsugu Kaneko's avatar Tomotsugu Kaneko

Fixed indentations.

parent 006fbfaa
...@@ -191,13 +191,13 @@ if (Meteor.is_client) { ...@@ -191,13 +191,13 @@ if (Meteor.is_client) {
// Register click events for clearing completed todos // Register click events for clearing completed todos
Template.footer.events = { Template.footer.events = {
'click button#clear-completed': function() { 'click button#clear-completed': function() {
Meteor.call('clearCompleted'); Meteor.call('clearCompleted');
} }
}; };
} }
Meteor.methods({ Meteor.methods({
clearCompleted: function () { clearCompleted: function () {
Todos.remove({completed: true}); Todos.remove({completed: true});
} }
}); });
\ No newline at end of file
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