Adam Judson napisaƂ(a):
I thought I understood this...

I have

function A() = ...

A.prototype = {...}

and now I want to add

A.prototype.prototype = new SuperClass();

A.prototype.__proto__= new SuperClass()

or my favourite method

function A(){SuperClass.call(this, arg1, arg2); ...}
A.prototype = {
  __proto__: SuperClass.prototype,
  ...
}

--
Pozdrawiam,
  Pawel Chmielowski
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to