-
Notifications
You must be signed in to change notification settings - Fork 32
inheritance #26
Comments
I think you must hack it some like this
or you must totally redesigned javascript like this https://github.com/Gozala/selfish. |
Im created desing pattern for js oop corespondend to php oop. all its work. all reported bugs is fixed. and is only litle diferent. parent is work corectly. but now its not tested, its only design. can you look and send some Feedback ? its only one more other possibility. make it like this. like jquery. https://github.com/Gozala/selfish .but there is also not suported private fields. |
I'm using this - http://phrogz.net/JS/classes/OOPinJS.html I know how to fix the private variables/methods issue (I think) and will do it in a day or two. |
also is not good pattern for api. when you do api, and somebody else use it and wont override some method, then must edit api code.
usage:
in javascript is routinely overriding api methods
usage
|
maybe this can work
|
when you inherit in js
then constructor is called and alert is popuped
The text was updated successfully, but these errors were encountered: