]> source.dussan.org Git - jquery.git/commitdiff
We don't do end of line comments, move them above.
authorJohn Resig <jeresig@gmail.com>
Tue, 9 Nov 2010 15:34:32 +0000 (10:34 -0500)
committerJohn Resig <jeresig@gmail.com>
Tue, 9 Nov 2010 15:34:32 +0000 (10:34 -0500)
src/event.js
src/manipulation.js

index b4b4da927d0e48d43661e7b09e72a40852bf1f30..04bf168ed53fb6f62ab01d7e7fbe36e64e5e846d 100644 (file)
@@ -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)
index 325f303a8316d399a654c33f33926ee43fd34e62..99d51a80cacb0ca20cde0d8cdca49c534b086a41 100644 (file)
@@ -7,7 +7,8 @@ var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g,
        rtbody = /<tbody/i,
        rhtml = /<|&#?\w+;/,
        rnocache = /<(?:script|object|embed|option|style)/i,
-       rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i,  // checked="checked" or checked (html5)
+       // checked="checked" or checked (html5)
+       rchecked = /checked\s*(?:[^=]|=\s*.checked.)/i,
        raction = /\=([^="'>\s]+\/)>/g,
        wrapMap = {
                option: [ 1, "<select multiple='multiple'>", "</select>" ],