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
dc337f62
Commit
dc337f62
authored
Mar 04, 2012
by
Andy Monat
Committed by
Dave Methvin
Apr 05, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #11435. Remove obsolete test code.
parent
203a1689
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
data.js
test/unit/data.js
+0
-6
No files found.
test/unit/data.js
View file @
dc337f62
...
@@ -184,9 +184,6 @@ test(".data()", function() {
...
@@ -184,9 +184,6 @@ test(".data()", function() {
var
dataObj
=
div
.
data
();
var
dataObj
=
div
.
data
();
// TODO: Remove this hack which was introduced in 1.5.1
delete
dataObj
.
toJSON
;
deepEqual
(
dataObj
,
{
test
:
"success"
},
"data() get the entire data object"
);
deepEqual
(
dataObj
,
{
test
:
"success"
},
"data() get the entire data object"
);
strictEqual
(
div
.
data
(
"foo"
),
undefined
,
"Make sure that missing result is still undefined"
);
strictEqual
(
div
.
data
(
"foo"
),
undefined
,
"Make sure that missing result is still undefined"
);
...
@@ -198,9 +195,6 @@ test(".data()", function() {
...
@@ -198,9 +195,6 @@ test(".data()", function() {
dataObj
=
jQuery
.
extend
(
true
,
{},
jQuery
(
obj
).
data
());
dataObj
=
jQuery
.
extend
(
true
,
{},
jQuery
(
obj
).
data
());
// TODO: Remove this hack which was introduced for 1.5.1
delete
dataObj
.
toJSON
;
deepEqual
(
dataObj
,
{
foo
:
"baz"
},
"Retrieve data object from a wrapped JS object (#7524)"
);
deepEqual
(
dataObj
,
{
foo
:
"baz"
},
"Retrieve data object from a wrapped JS object (#7524)"
);
});
});
...
...
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