mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
new ScratchCanvas -> createScratchCanvas and fix linting
This commit is contained in:
parent
261ff39f6d
commit
f80fd13fe5
3 changed files with 7 additions and 7 deletions
|
@ -222,7 +222,7 @@ var TilingPattern = (function TilingPatternClosure() {
|
|||
width = height = MAX_PATTERN_SIZE;
|
||||
}
|
||||
|
||||
var tmpCanvas = new ScratchCanvas(width, height);
|
||||
var tmpCanvas = createScratchCanvas(width, height);
|
||||
|
||||
// set the new canvas element context as the graphics context
|
||||
var tmpCtx = tmpCanvas.getContext('2d');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue