Open ralt opened 11 years ago
Exactly. Le 4 avr. 2013 22:54, "Ryan Kinal" notifications@github.com a écrit :
You mean here?https://github.com/SoJavaScriptRoom/oojs/blob/master/constructor.js#L31
— Reply to this email directly or view it on GitHubhttps://github.com/SoJavaScriptRoom/oojs/issues/1#issuecomment-15923197 .
It'd be nice to have an example of using
this.parent
in the constructor example, no need to callpoint.method.call
when you can havethis.parent.method.call
and thus keep loosely coupled inheritance.