I have two bindings, "a" and "b". Binding "b" extends "a". Both define
the method "method".
I'd like to be able to call a.method() from b.method(), after b.method has
done some other stuff.
Can this be done?
Thanks,
-- Greg
I _think_ that this.__proto__.__proto__.method should be the right thing
if you know b is the most-derived binding....
In the general case, though, you can't do it in xbl1. Not sure about xbl2.
-Boris
In XBL2 there is the baseBinding property on binding instances.
See http://www.w3.org/TR/xbl/#basebinding
Note that you would probably want to use 'call' (or 'apply') to avoid
'this' being the prototype instead of the actual instance:
this.__proto__.__proto__.method.call(this, ...);
or
this.__proto__.__proto__.method.apply(this, arguments);
Andrew