[Prototype-core] Re: ACMAScript Strict.

2007-05-11 Thread Andrew Sumin
I mean I understand warning I don't understand code what for redeclaration was :) Thanks for article, still I want to see firefox developers opinion. And I'm waiting for new version. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[Prototype-core] Re: ACMAScript Strict.

2007-05-11 Thread Mislav Marohnić
On 5/11/07, Andrew Sumin <[EMAIL PROTECTED]> wrote: > > > May I aks about this one warning. > > variable object hides argument > Oh, that's simple. It's because there is "var object", while object already exists in the same scope. This is already "fixed" in trunk. --~--~-~--~~---

[Prototype-core] Re: ACMAScript Strict.

2007-05-11 Thread Andrew Sumin
May I aks about this one warning. variable object hides argument http://.../prototype.js Line 111 110 Function.prototype.bindAsEventListener = function(object) { 111var __method = this, args = $A(arguments), object = args.shift(); 112return function(event) { 113 return __method.app

[Prototype-core] Re: ACMAScript Strict.

2007-05-11 Thread Tobie Langel
Hi Andrew, Please search through the archives before posting. This issue has been thoroughly discussed before: http://groups.google.com/group/prototype-core/browse_thread/thread/955370df2e66af04/5c168b81dfa6895a?lnk=gst&q=strict&rnum=4&hl=en#5c168b81dfa6895a Anyway, as explained here, http://ww