Commit 9c6ae435 authored by Arthur Verschaeve's avatar Arthur Verschaeve

foam: fix broken indentation

parent 6eb745d2
......@@ -76,7 +76,7 @@
{ name: 'completedCount', model_: 'IntProperty' },
{ name: 'activeCount', model_: 'IntProperty', postSet: function (_, c) { this.toggle = !c; }},
{ name: 'toggle', model_: 'BooleanProperty', postSet: function (_, n) {
if (n === (this.activeCount > 0)) { this.dao.update(SET(Todo.COMPLETED, n)); }
if (n === (this.activeCount > 0)) { this.dao.update(SET(Todo.COMPLETED, n)); }
}},
{
name: 'query',
......
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