This works:
valueBinding: SC.Binding.transform(function() {
return "State: " + App.statechart.get('currentStates').map(function(state) { return state.get('fullPath'); }).join(', ');
}).from('App.statechart.firstCurrentState')
This does not:
valueBinding: SC.Binding.transform(function(currentStates) {
return "State: " + currentStates.map(function(state) { return state.get('fullPath'); }).join(', ');
}).from('App.statechart.currentStates')
I would expect currentStates to be observable for changes the same way that firstCurrentState is.
This works:
This does not:
I would expect
currentStatesto be observable for changes the same way thatfirstCurrentStateis.