[Prototype-core] Re: Other API using Object.prototype breaks prototype.js for/in loop

2007-10-29 Thread Richard Quadling
Just in case anyone who isn't german (I assume) is reading this - verboten === forbidden. On 24/10/2007, Olivier Jaquemet [EMAIL PROTECTED] wrote: In short, Object prototype is verboten. Prototype library will break if you augment Object.prototype, and this is not likely to change.

[Prototype-core] Re: Other API using Object.prototype breaks prototype.js for/in loop

2007-10-29 Thread Mislav Marohnić
On 10/29/07, Richard Quadling [EMAIL PROTECTED] wrote: Just in case anyone who isn't german (I assume) is reading this - verboten === forbidden. Do a Google search for object.prototype is * and see what verb first pops up :) http://www.google.com/search?q=object.prototype+is+* It is a

[Prototype-core] Re: Other API using Object.prototype breaks prototype.js for/in loop

2007-10-29 Thread Richard Quadling
On 29/10/2007, Mislav Marohnić [EMAIL PROTECTED] wrote: On 10/29/07, Richard Quadling [EMAIL PROTECTED] wrote: Just in case anyone who isn't german (I assume) is reading this - verboten === forbidden. Do a Google search for object.prototype is * and see what verb first pops up :)

[Prototype-core] Re: Other API using Object.prototype breaks prototype.js for/in loop

2007-10-24 Thread Mislav Marohnić
On 10/24/07, Jean-Philippe Encausse [EMAIL PROTECTED] wrote: Unfortunately, using it has brought this issue to our attention : If another javascript API extends javascript object using Object.prototype, prototype.js will break in several places when calling for/in loops. Months ago, I

[Prototype-core] Re: Other API using Object.prototype breaks prototype.js for/in loop

2007-10-24 Thread Olivier Jaquemet
In short, Object prototype is verboten. Prototype library will break if you augment Object.prototype, and this is not likely to change. [...] We could say, json.js is verboten :) I hope this clears up the issue. This is very clear :) I will forward this to the RSH maintainer in hope he