Consider the following:
someProperty: function() {
return 'constant value';
}.propert('someDependency');
someObserver: function() {
console.log('here');
}.observes('someProperty');
Since ‘someProperty’ always returns the same value, I expected the observer to be called only once.
However apparently the observer will fire every time ‘someDependency’ changes.
Is this the expected behavior? What is the rational behind it?
Thanks