Commit 6c297cfb authored by Pascal Hartig's avatar Pascal Hartig

Merge pull request #1048 from teamso/jshintEqualRule

Use === insteadOf == even for strings
parents 19f4791b 34351b5f
......@@ -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