mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 19:58:26 -05:00
Fixed small error in jQuery selector example
$('.sidebar > ul') instead of $('.sidebar > .ul')
This commit is contained in:
@@ -1249,7 +1249,7 @@
|
||||
}
|
||||
```
|
||||
|
||||
- For DOM queries use Cascading `$('.sidebar ul')` or parent > child `$('.sidebar > .ul')`. [jsPerf](http://jsperf.com/jquery-find-vs-context-sel/16)
|
||||
- For DOM queries use Cascading `$('.sidebar ul')` or parent > child `$('.sidebar > ul')`. [jsPerf](http://jsperf.com/jquery-find-vs-context-sel/16)
|
||||
- Use `find` with scoped jQuery object queries.
|
||||
|
||||
```javascript
|
||||
|
||||
Reference in New Issue
Block a user