diff --git a/src/geom/rectangle/Union.js b/src/geom/rectangle/Union.js index c73f000d9..f9fdaebb6 100644 --- a/src/geom/rectangle/Union.js +++ b/src/geom/rectangle/Union.js @@ -30,7 +30,7 @@ var Union = function (rectA, rectB, out) var w = Math.max(rectA.right, rectB.right) - x; var h = Math.max(rectA.bottom, rectB.bottom) - y; - return out.setTo(x, y,w, h); + return out.setTo(x, y, w, h); }; module.exports = Union;