On Mon, May 12, 2008 at 10:10 AM, Erik Arvidsson
<[EMAIL PROTECTED]> wrote:
> Would ES3.1 work by simply replacing __lookup(G|S)etter__ by 
> Object.getProperty?

Yes, I think so.

> B.prototype.__defineGetter__('x', function() {
>  var aGetter = A.prototype.__lookupGetter__('x);
>  ...

Object.defineProperties(B.prototype, {x: {
  getter: function() {
    var aGetter = Object.getProperty(A.prototype, 'x').getter;
    ...

-- 
    Cheers,
    --MarkM
_______________________________________________
Es4-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es4-discuss

Reply via email to