UNPKG
jquery-migrate
Version:
latest (3.5.2)
3.5.2
3.5.1
3.5.0
3.4.1
3.4.0
3.3.2
3.3.1
3.3.0
3.2.0
3.1.0
3.0.1
3.0.0
3.0.0-rc1
1.4.1
1.4.0
1.3.0
1.2.1
Migrate older jQuery code to jQuery 3.0+
github.com/jquery/jquery-migrate
jquery/jquery-migrate
jquery-migrate
/
test
/
unit
/
jquery
/
traversing.js
11 lines
(7 loc)
•
260 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
QUnit.
module
(
"traversing"
); QUnit.test(
".andSelf"
,
function
( assert )
{
assert
.expect(
1
); expectWarning(
assert
,
"andSelf"
,
function
()
{ jQuery(
"<div id='outer'><div id='inner'></div></div>"
).
find
(
".inner"
).andSelf(); } ); } );