> I'm interested to know how one implements such magic,

It's something like this.
This is for any div node . firstchild.

Object.defineProperty(Div.prototype, "firstChild", {
get: function() { return this.childNodes[0]; }
});

Karl Dahlke
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev

Reply via email to