From: John Resig Date: Tue, 9 Nov 2010 15:34:32 +0000 (-0500) Subject: We don't do end of line comments, move them above. X-Git-Tag: 1.4.4rc3~11 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b5b3c73db3e4e615e504cd0af08ff6842b104542;p=jquery.git We don't do end of line comments, move them above. --- diff --git a/src/event.js b/src/event.js index b4b4da927..04bf168ed 100644 --- a/src/event.js +++ b/src/event.js @@ -33,7 +33,7 @@ jQuery.event = { if ( handler === false ) { handler = returnFalse; } else if ( !handler ) { - // Fixes bug #7229. Fix recommended by jdalton + // Fixes bug #7229. Fix recommended by jdalton return; } @@ -490,7 +490,8 @@ jQuery.event = { // Fix target property, if necessary if ( !event.target ) { - event.target = event.srcElement || document; // Fixes #1925 where srcElement might not be defined either + // Fixes #1925 where srcElement might not be defined either + event.target = event.srcElement || document; } // check if target is a textnode (safari) diff --git a/src/manipulation.js b/src/manipulation.js index 325f303a8..99d51a80c 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -7,7 +7,8 @@ var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g, rtbody = /\s]+\/)>/g, wrapMap = { option: [ 1, "" ],