Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jquery
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
jquery
Commits
0804cdfe
Commit
0804cdfe
authored
Oct 27, 2011
by
Rick Waldron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup spacing in manipulation.js. Fixes #10601
parent
f0cf49fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
manipulation.js
src/manipulation.js
+4
-4
No files found.
src/manipulation.js
View file @
0804cdfe
...
...
@@ -346,7 +346,7 @@ jQuery.fn.extend({
// in certain situations (Bug #8070).
// Fragments from the fragment cache must always be cloned and never used
// in place.
results
.
cacheable
||
(
l
>
1
&&
i
<
lastIndex
)
?
results
.
cacheable
||
(
l
>
1
&&
i
<
lastIndex
)
?
jQuery
.
clone
(
fragment
,
true
,
true
)
:
fragment
);
...
...
@@ -523,7 +523,7 @@ jQuery.each({
}
else
{
for
(
var
i
=
0
,
l
=
insert
.
length
;
i
<
l
;
i
++
)
{
var
elems
=
(
i
>
0
?
this
.
clone
(
true
)
:
this
).
get
();
var
elems
=
(
i
>
0
?
this
.
clone
(
true
)
:
this
).
get
();
jQuery
(
insert
[
i
]
)[
original
](
elems
);
ret
=
ret
.
concat
(
elems
);
}
...
...
@@ -553,7 +553,7 @@ function fixDefaultChecked( elem ) {
}
// Finds all inputs and passes them to fixDefaultChecked
function
findInputs
(
elem
)
{
var
nodeName
=
(
elem
.
nodeName
||
""
).
toLowerCase
();
var
nodeName
=
(
elem
.
nodeName
||
""
).
toLowerCase
();
if
(
nodeName
===
"input"
)
{
fixDefaultChecked
(
elem
);
// Skip scripts, get other children
...
...
@@ -645,7 +645,7 @@ jQuery.extend({
elem
=
elem
.
replace
(
rxhtmlTag
,
"<$1></$2>"
);
// Trim whitespace, otherwise indexOf won't work as expected
var
tag
=
(
rtagName
.
exec
(
elem
)
||
[
""
,
""
]
)[
1
].
toLowerCase
(),
var
tag
=
(
rtagName
.
exec
(
elem
)
||
[
""
,
""
]
)[
1
].
toLowerCase
(),
wrap
=
wrapMap
[
tag
]
||
wrapMap
.
_default
,
depth
=
wrap
[
0
],
div
=
context
.
createElement
(
"div"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment