1
0
Fork 0
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:
Julian Viereck 2012-02-23 15:46:00 +01:00
parent 261ff39f6d
commit f80fd13fe5
3 changed files with 7 additions and 7 deletions

View file

@ -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');