Skip to content

Copy static properties of the base class#1

Open
apendua wants to merge 1 commit intosubhog:masterfrom
apendua:inherit-statics
Open

Copy static properties of the base class#1
apendua wants to merge 1 commit intosubhog:masterfrom
apendua:inherit-statics

Conversation

@apendua
Copy link

@apendua apendua commented Apr 23, 2013

You agreed that this may be usefull, so here you go... :)

@apendua
Copy link
Author

apendua commented Apr 23, 2013

What we really want to do here is:

child.__proto__ = parent;

but these may seem a little extreme ;)

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

Successfully merging this pull request may close these issues.

1 participant