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
21d389cc
Commit
21d389cc
authored
Oct 15, 2010
by
jeresig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Testing *, * was unnecessary - especially in slower browsers.
parent
40aa95c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
selector.js
test/unit/selector.js
+1
-2
No files found.
test/unit/selector.js
View file @
21d389cc
module
(
"selector"
);
module
(
"selector"
);
test
(
"element"
,
function
()
{
test
(
"element"
,
function
()
{
expect
(
1
9
);
expect
(
1
8
);
QUnit
.
reset
();
QUnit
.
reset
();
ok
(
jQuery
(
"*"
).
size
()
>=
30
,
"Select all"
);
ok
(
jQuery
(
"*"
).
size
()
>=
30
,
"Select all"
);
...
@@ -27,7 +27,6 @@ test("element", function() {
...
@@ -27,7 +27,6 @@ test("element", function() {
ok
(
jQuery
(
"#lengthtest input"
).
length
,
'<input name="length"> cannot be found under IE, see #945'
);
ok
(
jQuery
(
"#lengthtest input"
).
length
,
'<input name="length"> cannot be found under IE, see #945'
);
// Check for unique-ness and sort order
// Check for unique-ness and sort order
same
(
jQuery
(
"*, *"
).
get
(),
jQuery
(
"*"
).
get
(),
"Check for duplicates: *, *"
);
same
(
jQuery
(
"p, div p"
).
get
(),
jQuery
(
"p"
).
get
(),
"Check for duplicates: p, div p"
);
same
(
jQuery
(
"p, div p"
).
get
(),
jQuery
(
"p"
).
get
(),
"Check for duplicates: p, div p"
);
t
(
"Checking sort order"
,
"h2, h1"
,
[
"qunit-header"
,
"qunit-banner"
,
"qunit-userAgent"
]
);
t
(
"Checking sort order"
,
"h2, h1"
,
[
"qunit-header"
,
"qunit-banner"
,
"qunit-userAgent"
]
);
...
...
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