ydaniv: > Hi, > > I saw some discussions about OO & inheritance in JS so thought I might > share a small Gist I've contrived: > > https://gist.github.com/1074335 > > It's ES5 only and implements a simple wrap for the Object.create > mechanism and a "super" property getter in a more unobtrusive way. > > It's OS and will appreciate any feedback. > > Thanks, > ~Y
this._super() is better then your method because you force me duplicate method name, its not DRY -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
