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
576607de
Commit
576607de
authored
Apr 16, 2012
by
Rick Waldron waldron.rick@gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes mangled indents.
Signed-off-by:
Rick Waldron waldron.rick@gmail.com
<
waldron.rick@gmail.com
>
parent
aabc0d85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
manipulation.js
src/manipulation.js
+6
-6
No files found.
src/manipulation.js
View file @
576607de
...
@@ -499,16 +499,17 @@ jQuery.buildFragment = function( args, context, scripts ) {
...
@@ -499,16 +499,17 @@ jQuery.buildFragment = function( args, context, scripts ) {
cacheable
=
true
;
cacheable
=
true
;
fragment
=
jQuery
.
fragments
[
first
];
fragment
=
jQuery
.
fragments
[
first
];
cachehit
=
fragment
!==
undefined
;
cachehit
=
fragment
!==
undefined
;
}
}
if
(
!
fragment
)
{
if
(
!
fragment
)
{
fragment
=
context
.
createDocumentFragment
();
fragment
=
context
.
createDocumentFragment
();
jQuery
.
clean
(
args
,
context
,
fragment
,
scripts
);
jQuery
.
clean
(
args
,
context
,
fragment
,
scripts
);
if
(
cacheable
)
{
// Update the cache, but only store false
// Update the cache, but only store false
// unless this is a second parsing of the same content
// unless this is a second parsing of the same content
if
(
cacheable
)
{
jQuery
.
fragments
[
first
]
=
cachehit
&&
fragment
;
jQuery
.
fragments
[
first
]
=
cachehit
&&
fragment
;
}
}
}
}
return
{
fragment
:
fragment
,
cacheable
:
cacheable
};
return
{
fragment
:
fragment
,
cacheable
:
cacheable
};
...
@@ -531,7 +532,6 @@ jQuery.each({
...
@@ -531,7 +532,6 @@ jQuery.each({
if
(
parent
&&
parent
.
nodeType
===
11
&&
parent
.
childNodes
.
length
===
1
&&
insert
.
length
===
1
)
{
if
(
parent
&&
parent
.
nodeType
===
11
&&
parent
.
childNodes
.
length
===
1
&&
insert
.
length
===
1
)
{
insert
[
original
](
this
[
0
]
);
insert
[
original
](
this
[
0
]
);
return
this
;
return
this
;
}
else
{
}
else
{
for
(
var
i
=
0
,
l
=
insert
.
length
;
i
<
l
;
i
++
)
{
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
();
...
...
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