2012/11/30 Andrea Giammarchi <[email protected]> > Last, but not least, if this script is for node.js only or modern > browsers, the best way to implement observe() is via Proxy, changing only > one thing: you need to re address and use the observed object rather than > use the normal one. >
See < https://github.com/tvcutsem/harmony-reflect/blob/master/examples/observer.js> for an implementation of that approach (usage example is here < https://github.com/tvcutsem/harmony-reflect/blob/master/examples/observer.html >. It was based on the original spec. for Object.observe. It may not be up-to-date with the latest version though. Cheers, Tom
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

