[Pkg-javascript-commits] [pdf.js] 78/116: Remove dead code from PDFThumbnailView

David Prévot taffit at moszumanska.debian.org
Fri Mar 6 16:20:03 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit 777d69b52ed2196cb69c851c07ae39421498ab65
Author: Jonas Jenwald <jonas.jenwald at gmail.com>
Date:   Sat Jan 24 16:29:32 2015 +0100

    Remove dead code from PDFThumbnailView
---
 web/pdf_thumbnail_view.js | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/web/pdf_thumbnail_view.js b/web/pdf_thumbnail_view.js
index 9a1e23d..dc5da0f 100644
--- a/web/pdf_thumbnail_view.js
+++ b/web/pdf_thumbnail_view.js
@@ -195,10 +195,6 @@ var PDFThumbnailView = (function PDFThumbnailViewClosure() {
       return canvas.getContext('2d');
     },
 
-    drawingRequired: function PDFThumbnailView_drawingRequired() {
-      return !this.hasImage;
-    },
-
     draw: function PDFThumbnailView_draw() {
       if (this.renderingState !== RenderingStates.INITIAL) {
         console.error('Must be in new state before drawing');

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list