Remove dead code from PDFThumbnailView
This commit is contained in:
parent
b7041f81f4
commit
777d69b52e
@ -195,10 +195,6 @@ var PDFThumbnailView = (function PDFThumbnailViewClosure() {
|
|||||||
return canvas.getContext('2d');
|
return canvas.getContext('2d');
|
||||||
},
|
},
|
||||||
|
|
||||||
drawingRequired: function PDFThumbnailView_drawingRequired() {
|
|
||||||
return !this.hasImage;
|
|
||||||
},
|
|
||||||
|
|
||||||
draw: function PDFThumbnailView_draw() {
|
draw: function PDFThumbnailView_draw() {
|
||||||
if (this.renderingState !== RenderingStates.INITIAL) {
|
if (this.renderingState !== RenderingStates.INITIAL) {
|
||||||
console.error('Must be in new state before drawing');
|
console.error('Must be in new state before drawing');
|
||||||
|
Loading…
Reference in New Issue
Block a user