May I aks about this one warning.

variable object hides argument
http://.../prototype.js
Line 111

110 Function.prototype.bindAsEventListener = function(object) {
111    var __method = this, args = $A(arguments), object =
args.shift();
112    return function(event) {
113       return __method.apply(object, [event ||
window.event].concat(args));
114    }
115 }

What for object is an argument for bindAsEventListener?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to