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
8b33e23e
Commit
8b33e23e
authored
Dec 12, 2010
by
Colin Snover
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Return test comments to ASCII space
parent
4fae75d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
manipulation.js
test/unit/manipulation.js
+2
-2
No files found.
test/unit/manipulation.js
View file @
8b33e23e
...
@@ -388,7 +388,7 @@ test("append the same fragment with events (Bug #6997, 5566)", function () {
...
@@ -388,7 +388,7 @@ test("append the same fragment with events (Bug #6997, 5566)", function () {
var
element
;
var
element
;
// This patch modified the way that cloning occurs in IE; we need to make sure that
// This patch modified the way that cloning occurs in IE; we need to make sure that
// native event handlers on the original object don
’
t get disturbed when they are
// native event handlers on the original object don
'
t get disturbed when they are
// modified on the clone
// modified on the clone
if
(
!
jQuery
.
support
.
noCloneEvent
&&
document
.
fireEvent
)
{
if
(
!
jQuery
.
support
.
noCloneEvent
&&
document
.
fireEvent
)
{
element
=
jQuery
(
"div:first"
).
click
(
function
()
{
element
=
jQuery
(
"div:first"
).
click
(
function
()
{
...
@@ -890,7 +890,7 @@ test("clone()", function() {
...
@@ -890,7 +890,7 @@ test("clone()", function() {
// this is technically an invalid object, but because of the special
// this is technically an invalid object, but because of the special
// classid instantiation it is the only kind that IE has trouble with,
// classid instantiation it is the only kind that IE has trouble with,
// so let
’
s test with it too.
// so let
'
s test with it too.
div
=
jQuery
(
"<div/>"
).
html
(
'<object height="355" width="425" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"> <param name="movie" value="http://www.youtube.com/v/3KANI2dpXLw&hl=en"> <param name="wmode" value="transparent"> </object>'
);
div
=
jQuery
(
"<div/>"
).
html
(
'<object height="355" width="425" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"> <param name="movie" value="http://www.youtube.com/v/3KANI2dpXLw&hl=en"> <param name="wmode" value="transparent"> </object>'
);
clone
=
div
.
clone
(
true
);
clone
=
div
.
clone
(
true
);
...
...
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