[Prototype-core] Re: _each method and context

2009-02-16 Thread kangax
On Feb 16, 6:09 pm, Tobie Langel wrote: > Can you open  a ticket for this? Sure, patch and test attached. http://prototype.lighthouseapp.com/projects/8886-prototype/tickets/554-_each-to-match-native-foreach-behavior -- kangax --~--~-~--~~~---~--~~ You received th

[Prototype-core] Re: _each method and context

2009-02-16 Thread Tobie Langel
Can you open a ticket for this? Thanks, Tobie On Feb 16, 5:16 pm, kangax wrote: > On Feb 16, 7:29 am, Yaffle wrote: > > > Hello, > > > Why with JavaScript <= 1.5,  Array.prototype._each method doesn't use > > a context object > > > like > > > Array.prototype.forEach(callback[, thisObject]) i

[Prototype-core] Re: _each method and context

2009-02-16 Thread Yaffle
Hm i am stupid.., why this ticket is for 1.6.0.3 milestone? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@googlegroups.com To unsub

[Prototype-core] Re: _each method and context

2009-02-16 Thread kangax
On Feb 16, 7:29 am, Yaffle wrote: > Hello, > > Why with JavaScript <= 1.5,  Array.prototype._each method doesn't use > a context object > > like > > Array.prototype.forEach(callback[, thisObject]) in JavaScript 1.6 > > or > > Enumerable.prototype.each(iterator[, context]) ? > > thank you. Becaus