Skip to content

Commit eba2364

Browse files
authored
Update browser example
1 parent 2ecde28 commit eba2364

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)