So I have an Observe.List of string:
- var ol = can.Observe.List(['foo', 'bar', 'foobar'])
and I insert this in an ejs template:
- <%ol.each(function(el,i){ %> el <%}%>
This updates fine if I change the length of the list, but it doesn't update with
- ol.attr(0, 'updated');
I have to use a workaround:
- ol.splice(0,1,'updated')
And I'm not very pleased by this solution, did I miss something ?