mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Fix a couple of closure names.
This commit is contained in:
parent
e18264d289
commit
a84fbb9eb2
4 changed files with 4 additions and 4 deletions
|
@ -365,7 +365,7 @@ var PDFImage = (function PDFImageClosure() {
|
|||
|
||||
function loadJpegStream(id, imageData, objs) {
|
||||
var img = new Image();
|
||||
img.onload = (function jpegImageLoaderOnload() {
|
||||
img.onload = (function loadJpegStream_onloadClosure() {
|
||||
objs.resolve(id, img);
|
||||
});
|
||||
img.src = 'data:image/jpeg;base64,' + window.btoa(imageData);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue