WebApp-CodeLab icon indicating copy to clipboard operation
WebApp-CodeLab copied to clipboard

3.4b properties

Open joewest opened this issue 13 years ago • 0 comments

Using the @each key means that every view's read and starred is watching every item in the itemController.

They should just watch 'content.read' and 'content.starred' respectively.

read: function() {
  var read = this.get('content').get('read');
  return read;
}.property('content.read'),

starred: function() {
  var starred = this.get('content').get('starred');
  return starred;
}.property('content.starred')

/ht @kselden for noticing this

joewest avatar May 16 '12 18:05 joewest