Skip to content

Commit

Permalink
docs(README): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
addyosmani committed Nov 25, 2018
1 parent baa9ec0 commit 43306cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ The above options are best for multi-page sites. Single-page apps have a few opt

* Call `quicklink()` once a navigation to a new route has completed
* Call `quicklink()` against a specific DOM element / component
* Call `quicklink{urls:[...]}` with a custom set of URLs to prefetch
* Call `quicklink({urls:[...]})` with a custom set of URLs to prefetch

## Recipes

Expand All @@ -53,7 +53,7 @@ The above options are best for multi-page sites. Single-page apps have a few opt
Defaults to `document` otherwise.

```js
let elem = document.getElementById('carousel');
const elem = document.getElementById('carousel');
quicklink({
el: elem
});
Expand All @@ -65,7 +65,7 @@ If you would prefer to provide a static list of URLs to be prefetched, instead o

```js
quicklink({
urls: ['2.html','4.html']
urls: ['2.html','3.html', '4.js']
});
```

Expand Down

0 comments on commit 43306cf

Please # to comment.