Avoid using arguments.callee in events.js.
This commit is contained in:
parent
7f6b3e81a2
commit
51d0181d29
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue