Fix js strict warning in worker.js.
Also fix a few minor nits.
This commit is contained in:
parent
b8dd054c7d
commit
7e6a589074
18 changed files with 31 additions and 7 deletions
|
@ -1,8 +1,11 @@
|
|||
// <canvas> contexts store most of the state we need natively.
|
||||
// However, PDF needs a bit more state, which we store here.
|
||||
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
|
||||
|
||||
'use strict';
|
||||
|
||||
// <canvas> contexts store most of the state we need natively.
|
||||
// However, PDF needs a bit more state, which we store here.
|
||||
|
||||
var CanvasExtraState = (function canvasExtraState() {
|
||||
function constructor(old) {
|
||||
// Are soft masks and alpha values shapes or opacities?
|
||||
|
@ -838,3 +841,4 @@ var CanvasGraphics = (function canvasGraphics() {
|
|||
|
||||
return constructor;
|
||||
})();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue