Skip to content
Permalink
Browse files

Fix #10576. Add alias for jQuery.event.handle so voyeur code still wo…

…rks.

Between new 1.7 special event hooks and jQuery.event.simulate() we have a much cleaner solution than the people calling jQuery.event.handle are doing, but we shouldn't break their use of this undocumented internal interface for now.
  • Loading branch information...
dmethvin committed Oct 26, 2011
1 parent fc13f5b commit 35bc30cd87c0578359c3127033dd85e1af132f69
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/event.js
@@ -618,6 +618,10 @@ jQuery.event = {
}
};

// Some plugins are using, but it's undocumented/deprecated and will be removed.
// The 1.7 special event interface should provide all the hooks needed now.
jQuery.event.handle = jQuery.event.dispatch;

jQuery.removeEvent = document.removeEventListener ?
function( elem, type, handle ) {
if ( elem.removeEventListener ) {

0 comments on commit 35bc30c

Please sign in to comment.
You can’t perform that action at this time.