Scoped Object Extensions strawman

2011-04-27 Thread Peter Hallam
Folks, I've added a strawman for scoped object extensionshttp://wiki.ecmascript.org/doku.php?id=strawman:scoped_object_extensionsto the ES Wiki. Scoped object extensions allows different libraries to define and reuse monkey patches without conflicting with each other. I've asked John to add

Re: Lexically Scoped Object Extensions (was About private names)

2011-03-21 Thread Peter Hallam
Hey Allen, The use case runs something like this: Suppose you use a collection library which has 'filter' implemented on all of their collections. So we have Set.prototype.filter, Map.prototype.filter, Tree.prototype.filter, etc. But the library doesn't add Array.filter because monkey patching

Re: DefineOwnProperty Allows non configurable property to change writable flag

2011-01-05 Thread Peter Hallam
to the errata? Luke From: es-discuss-boun...@mozilla.org [mailto: es-discuss-boun...@mozilla.org] On Behalf Of Allen Wirfs-Brock Sent: Wednesday, January 05, 2011 2:09 PM To: Peter Hallam Cc: es-discuss@mozilla.org Subject: Re: DefineOwnProperty Allows non configurable property to change