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
c4cc343c
Commit
c4cc343c
authored
Oct 24, 2011
by
timmywil
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #563 from rwldrn/fix-spaces
Clean up spacing in manipulation
parents
f3a4d261
73470076
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 @
c4cc343c
...
...
@@ -459,12 +459,12 @@ jQuery.buildFragment = function( args, nodes, scripts ) {
var
fragment
,
cacheable
,
cacheresults
,
doc
,
first
=
args
[
0
];
// nodes may contain either an explicit document object,
// a jQuery collection or context object.
// If nodes[0] contains a valid object to assign to doc
if
(
nodes
&&
nodes
[
0
]
)
{
doc
=
nodes
[
0
].
ownerDocument
||
nodes
[
0
];
}
// nodes may contain either an explicit document object,
// a jQuery collection or context object.
// If nodes[0] contains a valid object to assign to doc
if
(
nodes
&&
nodes
[
0
]
)
{
doc
=
nodes
[
0
].
ownerDocument
||
nodes
[
0
];
}
// Ensure that an attr object doesn't incorrectly stand in as a document object
// Chrome and Firefox seem to allow this to occur and will throw exception
...
...
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