fix StringStream constructor delegation to Stream
This commit is contained in:
parent
314889d3d1
commit
506828d522
2
pdf.js
2
pdf.js
@ -76,7 +76,7 @@ var StringStream = (function () {
|
|||||||
var bytes = new Uint8Array(length);
|
var bytes = new Uint8Array(length);
|
||||||
for (var n = 0; n < length; ++n)
|
for (var n = 0; n < length; ++n)
|
||||||
bytes[n] = str.charCodeAt(n);
|
bytes[n] = str.charCodeAt(n);
|
||||||
this.Stream(bytes);
|
Stream.call(this, bytes);
|
||||||
}
|
}
|
||||||
|
|
||||||
constructor.prototype = Stream.prototype;
|
constructor.prototype = Stream.prototype;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user