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
481d940e
Commit
481d940e
authored
Feb 10, 2011
by
Anton M
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove duplicate test.
parent
066304ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
ajax.js
test/unit/ajax.js
+1
-3
No files found.
test/unit/ajax.js
View file @
481d940e
...
...
@@ -922,7 +922,7 @@ test("serialize()", function() {
});
test
(
"jQuery.param()"
,
function
()
{
expect
(
2
5
);
expect
(
2
4
);
equals
(
!
jQuery
.
ajaxSettings
.
traditional
,
true
,
"traditional flag, falsy by default"
);
...
...
@@ -960,8 +960,6 @@ test("jQuery.param()", function() {
// #7945
equals
(
jQuery
.
param
({
"jquery"
:
"1.4.2"
}),
"jquery=1.4.2"
,
"Check that object with a jQuery property get serialized correctly"
);
equals
(
jQuery
.
param
(
jQuery
(
"#form :input"
)),
"action=Test&text2=Test&radio1=on&radio2=on&check=on&=on&hidden=&foo%5Bbar%5D=&name=name&search=search&button=&=foobar&select1=&select2=3&select3=1&select4=1&select5=3"
,
"Make sure jQuery objects are properly serialized"
);
jQuery
.
ajaxSetup
({
traditional
:
true
});
var
params
=
{
foo
:
"bar"
,
baz
:
42
,
quux
:
"All your base are belong to us"
};
...
...
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