uniqueChildren: Ember.arrayComputed('
[email protected].[]', {
addedItem: function(accumulatedValue, model) {
accumulatedValue.addObjects(model.get('children'));
return accumulatedValue.uniq();
},
removedItem: function(accumulatedValue, model) {
accumulatedValue.removeObjects(model.get('children'));
return accumulatedValue.uniq();
}
})
});