Fix (most) errors reported by the no-multi-spaces ESLint rule

http://eslint.org/docs/rules/no-multi-spaces
This commit is contained in:
Jonas Jenwald 2016-12-10 14:28:27 +01:00
parent 328e7397ea
commit 3820946301
10 changed files with 17 additions and 17 deletions

View file

@ -654,7 +654,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
}
if (sourceCtx.setLineDash !== undefined) {
destCtx.setLineDash(sourceCtx.getLineDash());
destCtx.lineDashOffset = sourceCtx.lineDashOffset;
destCtx.lineDashOffset = sourceCtx.lineDashOffset;
}
}
@ -1862,7 +1862,7 @@ var CanvasGraphics = (function CanvasGraphicsClosure() {
var cacheId = 'groupAt' + this.groupLevel;
if (group.smask) {
// Using two cache entries is case if masks are used one after another.
cacheId += '_smask_' + ((this.smaskCounter++) % 2);
cacheId += '_smask_' + ((this.smaskCounter++) % 2);
}
var scratchCanvas = this.cachedCanvases.getCanvas(
cacheId, drawnWidth, drawnHeight, true);