Skip to content

Use this.parent #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ralt opened this issue Apr 4, 2013 · 2 comments
Open

Use this.parent #1

ralt opened this issue Apr 4, 2013 · 2 comments

Comments

@ralt
Copy link

ralt commented Apr 4, 2013

It'd be nice to have an example of using this.parent in the constructor example, no need to call point.method.call when you can have this.parent.method.call and thus keep loosely coupled inheritance.

@ryankinal
Copy link
Member

You mean here?

@ralt
Copy link
Author

ralt commented Apr 4, 2013

Exactly.
Le 4 avr. 2013 22:54, "Ryan Kinal" [email protected] 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//issues/1#issuecomment-15923197
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants