1
0
Fork 0
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:
Kalervo Kujala 2012-03-27 14:27:49 +03:00
parent e18264d289
commit a84fbb9eb2
4 changed files with 4 additions and 4 deletions

View file

@ -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);