{"body":"import Ember from 'ember';\n\nexport default Ember.Component.extend({\n  tagName: 'li',\n  todo: null,\n  classNameBindings: ['isCompleted:completed'],\n  isCompleted: Ember.computed('todo.isCompleted', {\n    get(key) {\n      return this.get('todo.isCompleted');\n    },\n    set(key, value) {\n      this.set('todo.isCompleted', value);\n      this.sendAction('isCompleted', this.get('todo'));\n    }\n  }),\n  actions: {\n    update: function() {\n      console.log(this.get('todo').get('title'))\n      this.sendAction('isCompleted', this.get('todo'))\n    }\n  }\n});\n","name":"","extension":"txt","url":"https://www.irccloud.com/pastebin/t07p2xGH","modified":1438235996,"id":"t07p2xGH","size":553,"lines":22,"own_paste":false,"theme":"","date":1438235996}