mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 17:55:37 +02:00
Fix errors reported by the comma-spacing
ESLint rule
http://eslint.org/docs/rules/comma-spacing
This commit is contained in:
parent
66d2637b3f
commit
ad915f8af1
9 changed files with 36 additions and 36 deletions
|
@ -841,7 +841,7 @@ var SVGGraphics = (function SVGGraphicsClosure() {
|
|||
var height = args[j++];
|
||||
var xw = x + width;
|
||||
var yh = y + height;
|
||||
d.push('M', pf(x), pf(y), 'L', pf(xw) , pf(y), 'L', pf(xw), pf(yh),
|
||||
d.push('M', pf(x), pf(y), 'L', pf(xw), pf(y), 'L', pf(xw), pf(yh),
|
||||
'L', pf(x), pf(yh), 'Z');
|
||||
break;
|
||||
case OPS.moveTo:
|
||||
|
@ -852,7 +852,7 @@ var SVGGraphics = (function SVGGraphicsClosure() {
|
|||
case OPS.lineTo:
|
||||
x = args[j++];
|
||||
y = args[j++];
|
||||
d.push('L', pf(x) , pf(y));
|
||||
d.push('L', pf(x), pf(y));
|
||||
break;
|
||||
case OPS.curveTo:
|
||||
x = args[j + 4];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue