From 51d0181d291f79c971823957ed0c6ff925356953 Mon Sep 17 00:00:00 2001 From: Tobie Langel Date: Thu, 11 Dec 2008 04:12:51 +0100 Subject: [PATCH] Avoid using arguments.callee in events.js. --- src/dom/event.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dom/event.js b/src/dom/event.js index 20a47df..c090fa2 100644 --- a/src/dom/event.js +++ b/src/dom/event.js @@ -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;