Skip to content

Commit 4523548

Browse files
authored
Merge pull request #19 from danmindru/patch-1
Update browser example
2 parents 2ecde28 + eba2364 commit 4523548

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const textDecoder = new TextDecoder();
5454

5555
const input = 'some input';
5656

57-
const uncompressedData = textEncoder.encode('some input');
57+
const uncompressedData = textEncoder.encode(input);
5858
const compressedData = brotli.compress(uncompressedData);
5959
const decompressedData = brotli.decompress(compressedData);
6060

0 commit comments

Comments
 (0)