rse / componentjs

ComponentJS -- Powerful run-time Component System for structuring HTML5-based Rich Clients
http://componentjs.com/
Other
85 stars 13 forks source link

values() does not aggregate all models #5

Closed rse closed 11 years ago

rse commented 11 years ago

The values() returns just an object for the model values of the first model on the path towards the root component. To be in sync with value(), observe() and unobserve() it really should aggregate all values of all models.

rse commented 11 years ago

I've removed the values() method now (not to confuse with value(), which still exists, of course), because it is both buggy (as explained above) and requires ECMAScript 5, etc. If necessary this can be provided as an extension later again