mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 07:08:08 +02:00
cleanup
This commit is contained in:
parent
d38a5488d4
commit
07f8145165
1 changed files with 2 additions and 2 deletions
4
pdf.js
4
pdf.js
|
@ -4,7 +4,7 @@
|
|||
'use strict';
|
||||
|
||||
var ERRORS = 0, WARNINGS = 1, TODOS = 5;
|
||||
var verbosity = TODOS;
|
||||
var verbosity = WARNINGS;
|
||||
|
||||
function log(msg) {
|
||||
if (console && console.log)
|
||||
|
@ -4194,7 +4194,7 @@ var CanvasGraphics = (function() {
|
|||
|
||||
// TODO: hack to avoid OOM, remove then pattern code is fixed
|
||||
if (Math.abs(width) > 8192 || Math.abs(height) > 8192)
|
||||
return false;
|
||||
return this.makeCssRgb(0, 0, 0);
|
||||
|
||||
var tmpCanvas = new this.ScratchCanvas(width, height);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue