We don't do end of line comments, move them above.
This commit is contained in:
parent
a4df6945b8
commit
b5b3c73db3
|
@ -490,7 +490,8 @@ jQuery.event = {
|
||||||
|
|
||||||
// Fix target property, if necessary
|
// Fix target property, if necessary
|
||||||
if ( !event.target ) {
|
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)
|
// check if target is a textnode (safari)
|
||||||
|
|
|
@ -7,7 +7,8 @@ var rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g,
|
||||||
rtbody = /<tbody/i,
|
rtbody = /<tbody/i,
|
||||||
rhtml = /<|&#?\w+;/,
|
rhtml = /<|&#?\w+;/,
|
||||||
rnocache = /<(?:script|object|embed|option|style)/i,
|
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,
|
raction = /\=([^="'>\s]+\/)>/g,
|
||||||
wrapMap = {
|
wrapMap = {
|
||||||
option: [ 1, "<select multiple='multiple'>", "</select>" ],
|
option: [ 1, "<select multiple='multiple'>", "</select>" ],
|
||||||
|
|
Loading…
Reference in a new issue