I actually play around with ember js and I'm confused, about the observer behavior.
App.ProjectView = Ember.View.extend({
modelChanged: function() {
console.log('modelChanged to: ');
this.get('controller.model.images').forEach(function(item) {
console.log(item.get('src'));
});
}.observes('controller.model.images')
});
this observer is called two or three times if I access the route. But I did not understand why and can't find any furthur informations.
thanks for any help.