Skip to content
This repository has been archived by the owner on Jul 30, 2020. It is now read-only.

3.4b properties #5

Open
joewest opened this issue May 16, 2012 · 0 comments
Open

3.4b properties #5

joewest opened this issue May 16, 2012 · 0 comments

Comments

@joewest
Copy link

joewest commented May 16, 2012

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant