standardize watch feature

memolus at googlemail.com memolus at googlemail.com
Sun Dec 27 03:12:17 PST 2009


https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference:Global_Objects:Object:watch

I really do need it for my Modell-View-Controller application. If
didn't had it, I had to use

modell.doSth();
modell.x++;
modell.save();

where modell.save() will call the controller to reload all properties
into view. With the watch feature I'm saving the last line. Property
changings on the modell affects the view instantly.

May you can introduce the feature as part of a new event concept.


More information about the es-discuss mailing list