Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #18661
| Message-ID | <1692420.Ia5zpk6XBy@PointedEars.de> (permalink) |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Organization | PointedEars Software (PES) |
| Date | 2013-02-28 14:14 +0100 |
| Subject | Re: [ANN] Barman - Small library to define objects using single-inheritance and traits |
| Newsgroups | comp.lang.javascript |
| References | <f72e2592-8b9f-472e-b092-ccffcb9437f2@googlegroups.com> <5545405.CXyfL3cyKS@PointedEars.de> |
Thomas 'PointedEars' Lahn wrote: > - extend() for-in iterates over inherited properties; You might want to ignore that. I have reviewed Function.prototype.extend() in the current JSX:object.js [1] and I have done the same there (my code is Function-specific, though). As I recall, the rationale for that was that Object instances would be used as extension source; if anyone augmented Object.prototype they deserved what they get, and jumping through hoops to work around it was too much to ask me for. What do you think? > [1] > <http://PointedEars.de/websvn/filedetails.php?repname=JSX&path=%2Ftrunk%2Fobject.js>. -- PointedEars Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[ANN] Barman - Small library to define objects using single-inheritance and traits Diego Fernandez <diegof79@gmail.com> - 2013-02-27 08:57 -0800
Re: [ANN] Barman - Small library to define objects using single-inheritance and traits Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-02-27 19:39 +0100
Re: [ANN] Barman - Small library to define objects using single-inheritance and traits Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-02-28 14:14 +0100
Re: [ANN] Barman - Small library to define objects using single-inheritance and traits Andrew Poulos <ap_prog@hotmail.com> - 2013-03-01 09:53 +1100
Re: [ANN] Barman - Small library to define objects using single-inheritance and traits Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-03-01 00:11 +0100
csiph-web