mirror of
https://github.com/0x5eal/rbxts-pako.git
synced 2025-04-11 14:21:02 +01:00
typo fix
This commit is contained in:
parent
0396f36798
commit
b1dae2db36
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ var samples = helpers.loadSamples();
|
|||
|
||||
|
||||
function randomBuf(size) {
|
||||
var buf = pako_utils.Buf8(size);
|
||||
var buf = new pako_utils.Buf8(size);
|
||||
for (var i = 0; i < size; i++) {
|
||||
buf[i] = Math.round(Math.random() * 256);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue