Fix (most) errors reported by the no-multi-spaces
ESLint rule
http://eslint.org/docs/rules/no-multi-spaces
This commit is contained in:
parent
328e7397ea
commit
3820946301
10 changed files with 17 additions and 17 deletions
|
@ -1314,7 +1314,7 @@ var PDFWorker = (function PDFWorkerClosure() {
|
|||
}
|
||||
try {
|
||||
sendTest();
|
||||
} catch (e) {
|
||||
} catch (e) {
|
||||
// We need fallback to a faked worker.
|
||||
this._setupFakeWorker();
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -165,12 +165,12 @@ var WebGLUtils = (function WebGLUtilsClosure() {
|
|||
var texCoordBuffer = gl.createBuffer();
|
||||
gl.bindBuffer(gl.ARRAY_BUFFER, texCoordBuffer);
|
||||
gl.bufferData(gl.ARRAY_BUFFER, new Float32Array([
|
||||
0.0, 0.0,
|
||||
1.0, 0.0,
|
||||
0.0, 1.0,
|
||||
0.0, 1.0,
|
||||
1.0, 0.0,
|
||||
1.0, 1.0]), gl.STATIC_DRAW);
|
||||
0.0, 0.0,
|
||||
1.0, 0.0,
|
||||
0.0, 1.0,
|
||||
0.0, 1.0,
|
||||
1.0, 0.0,
|
||||
1.0, 1.0]), gl.STATIC_DRAW);
|
||||
gl.enableVertexAttribArray(texCoordLocation);
|
||||
gl.vertexAttribPointer(texCoordLocation, 2, gl.FLOAT, false, 0, 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue