Permalink
Browse files

Value binding expects a boolean

  • Loading branch information...
1 parent 511d904 commit 68e86f9027f8dc2a1ecf3ab024f942eec78a4635 @wycats wycats committed May 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/app.js
View
@@ -27,7 +27,7 @@ Todos.todosController = SC.ArrayProxy.create({
return value;
} else {
- return this.get('length') && this.everyProperty('isDone', true);
+ return !!this.get('length') && this.everyProperty('isDone', true);
}
}.property('@each.isDone')
});

0 comments on commit 68e86f9

Please sign in to comment.