Commit 34351b5f authored by dsumac's avatar dsumac

Use === insteadOf == even for strings

parent f9b0e0ef
......@@ -26,11 +26,11 @@ TodoMVC.module('Todos', function (Todos, App, Backbone) {
},
matchesFilter: function (filter) {
if (filter == 'all') {
if (filter === 'all') {
return true;
}
if (filter == 'active') {
if (filter === 'active') {
return !this.isCompleted();
}
......
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