From 49e4f3194ed324d1af6bb7b9bbdb0eb2e7a4555b Mon Sep 17 00:00:00 2001 From: Andreas Richter Date: Mon, 6 Apr 2020 17:19:30 +0200 Subject: [PATCH] docs: update readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c017dd7..03c1d05 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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.