Avoid using arguments.callee in events.js.

This commit is contained in:
Tobie Langel 2008-12-11 04:12:51 +01:00
parent 7f6b3e81a2
commit 51d0181d29

View File

@ -164,7 +164,7 @@
function _getEventID(element) {
if (element._prototypeEventID) return element._prototypeEventID[0];
return element._prototypeEventID = [++arguments.callee.id];
return element._prototypeEventID = [++_getEventID.id];
}
_getEventID.id = 1;