Commit d2492ace authored by Addy Osmani's avatar Addy Osmani

fix for itemChangedAction code style

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