]> git.parisson.com Git - pdf.js.git/commitdiff
Lints.
authorBrendan Dahl <brendan.dahl@gmail.com>
Fri, 16 Dec 2011 00:30:51 +0000 (16:30 -0800)
committerBrendan Dahl <brendan.dahl@gmail.com>
Fri, 16 Dec 2011 00:30:51 +0000 (16:30 -0800)
src/image.js

index 59f177dc4a20da0fbc0ec2c34d5fbf4817c94d54..d2c4ed4f7b98f2c7abe21cd8a6e0d836bf6bb1b0 100644 (file)
@@ -250,13 +250,13 @@ var PDFImage = (function PDFImageClosure() {
       if (smask) {
         var sw = smask.width;
         var sh = smask.height;
-        buf = new Uint8Array(sw * sh)
+        buf = new Uint8Array(sw * sh);
         smask.fillGrayBuffer(buf);
         if (sw != this.width || sh != this.height)
           buf = PDFImage.resize(buf, sw, sh, this.width, this.height);
         return buf;
       } else {
-        buf = new Uint8Array(width * height)
+        buf = new Uint8Array(width * height);
         for (var i = 0, ii = width * height; i < ii; ++i)
           buf[i] = 255;
       }