<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,5 @@
+* Fix bug in getEventID where an array is returned instead of a number. [jddalton]
+
 * Improve NodeList detection for Safari's $A function. [Garrett Smith, jddalton]
 
 * Use different tactic to sniff for Opera in order to avoid false positives in IE. [Tobie Langel, jddalton]</diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -150,7 +150,7 @@ Object.extend(Event, (function() {
     // won't get copied to a new node when cloneNode is called.
     if (element === window) return 1;
     if (element._prototypeEventID) return element._prototypeEventID[0];
-    return element._prototypeEventID = [arguments.callee.id++];
+    return (element._prototypeEventID = [arguments.callee.id++])[0];
   }
   getEventID.id = 2;
   </diff>
      <filename>src/event.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d1c6b0199bfe6d1ef13cf207455307a424d05393</id>
    </parent>
  </parents>
  <author>
    <name>Andrew Dupont</name>
    <email>prototype@andrewdupont.net</email>
  </author>
  <url>http://github.com/sstephenson/prototype/commit/1581f02521db309008cceb8967fbc7b95591440e</url>
  <id>1581f02521db309008cceb8967fbc7b95591440e</id>
  <committed-date>2008-07-21T11:44:07-07:00</committed-date>
  <authored-date>2008-07-21T11:44:07-07:00</authored-date>
  <message>Fix bug in getEventID where an array is returned instead of a number. [#228 state:resolved]</message>
  <tree>9e8aafe79d1d187ed1e953951bd8e5e961c52c0a</tree>
  <committer>
    <name>Andrew Dupont</name>
    <email>prototype@andrewdupont.net</email>
  </committer>
</commit>
