Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Richter committed Apr 6, 2020
1 parent e168b42 commit 49e4f31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ Support for the following extensions is built in:
### `fileAlternativesContent([filename, ...], options)`

```js
var fileAlternativesContent = require('shared-store/file-alternatives');
const fileAlternativesContent = require('shared-store/file-alternatives');
```

An observable representing the content of a single file, chosen from among
Expand All @@ -167,7 +167,7 @@ If more than one or none of the paths exist, it is an error.
### `httpResource({fetch, interval})`

```js
var httpResource = require('shared-store/http');
const httpResource = require('shared-store/http');
```

An observable representing a cacheable HTTP resource.
Expand Down

0 comments on commit 49e4f31

Please sign in to comment.