doc: don't bury the lead
This commit is contained in:
parent
8abe08ac48
commit
be92cb7aa2
16
README.md
16
README.md
|
@ -5,6 +5,14 @@ The fastest, most lightweight, fewest dependency jQuery alternative.
|
||||||
Development Build: 145B (with comments) \
|
Development Build: 145B (with comments) \
|
||||||
Production Build: 103B (min + gz)
|
Production Build: 103B (min + gz)
|
||||||
|
|
||||||
|
## Example Usage
|
||||||
|
|
||||||
|
Provides modern, advanced CSS4-compatible query selection:
|
||||||
|
|
||||||
|
```js
|
||||||
|
console.log("innerText:", $("p:nth-child(2").innerText);
|
||||||
|
```
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
### via GitHub
|
### via GitHub
|
||||||
|
@ -27,14 +35,6 @@ curl -fsSL "https://raw.githubusercontent.com/coolaj86/ajquery.js/${my_ver}/ajqu
|
||||||
<script src="https://unpkg.com/ajquery"></script>
|
<script src="https://unpkg.com/ajquery"></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
## Example Usage
|
|
||||||
|
|
||||||
Provides modern, advanced CSS4-compatible query selection:
|
|
||||||
|
|
||||||
```js
|
|
||||||
console.log("innerText:", $("p:nth-child(2").innerText);
|
|
||||||
```
|
|
||||||
|
|
||||||
## API
|
## API
|
||||||
|
|
||||||
### `$(selector, [rootElement])`
|
### `$(selector, [rootElement])`
|
||||||
|
|
Loading…
Reference in New Issue