Permalink
Browse files

all events have predefined memo object, where you can store any data …

…you want
  • Loading branch information...
juzna committed Jan 13, 2011
1 parent 6b1a32c commit f89d814b9a3e9d25fd5659f06341ae7a03bed1be
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/prototype/dom/event.js
@@ -519,6 +519,7 @@
return false;
Event.extend(event, element);
+ if(typeof event.memo == 'undefined') event.memo = {};
handler.call(element, event);
};
} else {

0 comments on commit f89d814

Please sign in to comment.