mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 09:45:42 +02:00
Fixes some static analysis warnings and recommendations
* Useless conditional * Superfluous trailing arguments * Useless assignment to local variable * Misspelled identifier * JSDoc tag for non-existent parameter
This commit is contained in:
parent
d20002b6b1
commit
32ce369d88
9 changed files with 32 additions and 43 deletions
|
@ -810,7 +810,7 @@ var PDFPageProxy = (function PDFPageProxyClosure() {
|
|||
return;
|
||||
}
|
||||
stats.time('Rendering');
|
||||
internalRenderTask.initalizeGraphics(transparency);
|
||||
internalRenderTask.initializeGraphics(transparency);
|
||||
internalRenderTask.operatorListChanged();
|
||||
},
|
||||
function pageDisplayReadPromiseError(reason) {
|
||||
|
@ -1937,8 +1937,8 @@ var InternalRenderTask = (function InternalRenderTaskClosure() {
|
|||
|
||||
InternalRenderTask.prototype = {
|
||||
|
||||
initalizeGraphics:
|
||||
function InternalRenderTask_initalizeGraphics(transparency) {
|
||||
initializeGraphics:
|
||||
function InternalRenderTask_initializeGraphics(transparency) {
|
||||
|
||||
if (this.cancelled) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue