From a592526a6b8adb6e7a27973cc88c23bc316a98a3 Mon Sep 17 00:00:00 2001
From: Pdf Bot <pdfjsbot@gmail.com>
Date: Mon, 8 Aug 2016 18:56:21 +0100
Subject: [PATCH] PDF.js version 1.5.376 - See
 mozilla/pdf.js@94089960c04d7f59eb637d6dc63944115bbc539d

---
 bower.json            | 2 +-
 build/pdf.combined.js | 4 ++--
 build/pdf.js          | 4 ++--
 build/pdf.worker.js   | 4 ++--
 package.json          | 2 +-
 web/pdf_viewer.js     | 1 -
 6 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/bower.json b/bower.json
index 73a128143..d6239b27d 100644
--- a/bower.json
+++ b/bower.json
@@ -1,6 +1,6 @@
 {
   "name": "pdfjs-dist",
-  "version": "1.5.374",
+  "version": "1.5.376",
   "main": [
     "build/pdf.js",
     "build/pdf.worker.js"
diff --git a/build/pdf.combined.js b/build/pdf.combined.js
index d88d5ed05..0b9e334e3 100644
--- a/build/pdf.combined.js
+++ b/build/pdf.combined.js
@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfCombined = {}));
   // Use strict in our context only - users might not want it
   'use strict';
 
-var pdfjsVersion = '1.5.374';
-var pdfjsBuild = 'ca81f4d';
+var pdfjsVersion = '1.5.376';
+var pdfjsBuild = '9408996';
 
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?
diff --git a/build/pdf.js b/build/pdf.js
index af6ad509c..8a6249bf1 100644
--- a/build/pdf.js
+++ b/build/pdf.js
@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdf = {}));
   // Use strict in our context only - users might not want it
   'use strict';
 
-var pdfjsVersion = '1.5.374';
-var pdfjsBuild = 'ca81f4d';
+var pdfjsVersion = '1.5.376';
+var pdfjsBuild = '9408996';
 
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?
diff --git a/build/pdf.worker.js b/build/pdf.worker.js
index cdcb6ea43..2fcf5ac72 100644
--- a/build/pdf.worker.js
+++ b/build/pdf.worker.js
@@ -28,8 +28,8 @@ factory((root.pdfjsDistBuildPdfWorker = {}));
   // Use strict in our context only - users might not want it
   'use strict';
 
-var pdfjsVersion = '1.5.374';
-var pdfjsBuild = 'ca81f4d';
+var pdfjsVersion = '1.5.376';
+var pdfjsBuild = '9408996';
 
   var pdfjsFilePath =
     typeof document !== 'undefined' && document.currentScript ?
diff --git a/package.json b/package.json
index 93a51f7ef..6e36bd2f1 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "pdfjs-dist",
-  "version": "1.5.374",
+  "version": "1.5.376",
   "main": "build/pdf.js",
   "description": "Generic build of Mozilla's PDF.js library.",
   "keywords": [
diff --git a/web/pdf_viewer.js b/web/pdf_viewer.js
index 91bbec046..db470ef06 100644
--- a/web/pdf_viewer.js
+++ b/web/pdf_viewer.js
@@ -3589,7 +3589,6 @@ var PDFViewer = (function pdfViewer() {
           // rendering.
           self._buffer.push(this);
         };
-        // when page is painted, using the image as thumbnail base
         pageView.onAfterDraw = function pdfViewLoadOnAfterDraw() {
           if (!isOnePageRenderedResolved) {
             isOnePageRenderedResolved = true;