Fix gjslint warnings.

This commit is contained in:
Kalervo Kujala 2011-09-12 20:42:55 +03:00
parent 8e5a8fb49f
commit b5412c13d8
2 changed files with 6 additions and 5 deletions

4
pdf.js
View file

@ -876,8 +876,8 @@ var JpegStream = (function() {
function fixYcckImage(bytes) {
// Inserting 'EMBED' marker after JPEG signature
var embedMarker = new Uint8Array([0xFF, 0xEC, 0, 8,
0x45, 0x4D, 0x42, 0x45, 0x44, 0]);
var embedMarker = new Uint8Array([0xFF, 0xEC, 0, 8, 0x45, 0x4D, 0x42, 0x45,
0x44, 0]);
var newBytes = new Uint8Array(bytes.length + embedMarker.length);
newBytes.set(bytes, embedMarker.length);
// copy JPEG header