News for hackers. Stuff that matters.
Re:Opal - Ruby to Javascript compiler by pygy_ on Friday October 19, 2012 @02:03PM (#4674716)
Javascript Harmony (ES6) Proxies will allow to define getter catchall and other kinds of traps.

See https://developer.mozilla.org/en-US/docs/JavaScript/Referenc...

Re:Opal - Ruby to Javascript compiler by tlack on Friday October 19, 2012 @02:14PM (#4674773)
Minor FYI: for this who want to play with Proxies right now, you can use a recent-ish copy of node invoked with node --harmony_proxies Enjoy!
Re:Opal - Ruby to Javascript compiler by pygy_ on Friday October 19, 2012 @05:29PM (#4675452)
Actually, V8 implements an older version of the spec. You can get a polyfill created by the designer of the Proxy spec here: https://github.com/tvcutsem/harmony-reflect

It requires `node --harmony` (actually only Harmony Proxies and Harmony WeakMaps, but the rest doesn't hurt.)