Commit d2492ace authored by Addy Osmani's avatar Addy Osmani

fix for itemChangedAction code style

parent 5b78e89e
......@@ -63,7 +63,9 @@
this.$['new-todo'].value = '';
},
itemChangedAction: function() {
this.model && this.model.itemsChanged();
if (this.model) {
this.model.itemsChanged();
}
},
destroyItemAction: function(e, detail) {
this.model.destroyItem(detail);
......
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