Skip to content

Commit e8b87a5

Browse files
committed
Updated 25.1 to include a case with a hyphen in the classname
1 parent cac2d28 commit e8b87a5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1874,6 +1874,9 @@
18741874

18751875
// good
18761876
const $sidebar = $('.sidebar');
1877+
1878+
// good
1879+
const $sidebarBtn = $('.sidebar-btn');
18771880
```
18781881
18791882
- [25.2](#25.2) <a name='25.2'></a> Cache jQuery lookups.

0 commit comments

Comments
 (0)