Skip to content

Commit

Permalink
Ensure Event.extend returns the event.
Browse files Browse the repository at this point in the history
  • Loading branch information
savetheclocktower committed Nov 15, 2010
1 parent 89b2d77 commit 78082ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dom/event.js
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,8 @@

Object.extend(event, methods);
Object.extend(event, additionalMethods);

return event;
};
} else {
// Only DOM events, so no manual extending necessary.
Expand Down

0 comments on commit 78082ec

Please sign in to comment.