mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
fix StringStream constructor delegation to Stream
This commit is contained in:
parent
314889d3d1
commit
506828d522
1 changed files with 1 additions and 1 deletions
2
pdf.js
2
pdf.js
|
@ -76,7 +76,7 @@ var StringStream = (function () {
|
|||
var bytes = new Uint8Array(length);
|
||||
for (var n = 0; n < length; ++n)
|
||||
bytes[n] = str.charCodeAt(n);
|
||||
this.Stream(bytes);
|
||||
Stream.call(this, bytes);
|
||||
}
|
||||
|
||||
constructor.prototype = Stream.prototype;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue