Permalink
Browse files

Ensure `Event.extend` returns the event.

  • Loading branch information...
1 parent 89b2d77 commit 78082ec025b629d917669caccac5f0aea849fa3b @savetheclocktower savetheclocktower committed Nov 15, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/dom/event.js
View
@@ -470,6 +470,8 @@
Object.extend(event, methods);
Object.extend(event, additionalMethods);
+
+ return event;
};
} else {
// Only DOM events, so no manual extending necessary.

0 comments on commit 78082ec

Please sign in to comment.