Merge branch 'master' of git@github.com:jquery/jquery

This commit is contained in:
John Resig 2009-11-09 13:01:10 +01:00
commit 4fd730dca7

View file

@ -583,7 +583,6 @@ jQuery.each({
blur: "focusout"
}, function( orig, fix ){
var event = jQuery.event,
special = event.special,
handle = event.handle;
function ieHandler() {
@ -591,18 +590,18 @@ jQuery.each({
return handle.apply(this, arguments);
}
special[orig] = {
event.special[orig] = {
setup:function() {
if ( this.addEventListener )
this.addEventListener( orig, handle, true );
else
jQuery.event.add( this, fix, ieHandler );
event.add( this, fix, ieHandler );
},
teardown:function() {
if ( this.removeEventListener )
this.removeEventListener( orig, handle, true );
else
jQuery.event.remove( this, fix, ieHandler );
event.remove( this, fix, ieHandler );
}
};
});