Skip to content

Commit 6394ca8

Browse files
committed
[jquery] the faster lookup isn't actually faster. Fixes airbnb#90
1 parent 5a769c1 commit 6394ca8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1354,11 +1354,8 @@
13541354
// good
13551355
$('.sidebar > ul').hide();
13561356
1357-
// good (slower)
1357+
// good
13581358
$sidebar.find('ul');
1359-
1360-
// good (faster)
1361-
$($sidebar[0]).find('ul');
13621359
```
13631360

13641361
**[[⬆]](#TOC)**

0 commit comments

Comments
 (0)