From 4e737abcde40675e044d7192fcd94bc25907da22 Mon Sep 17 00:00:00 2001 From: Andrea Bogazzi Date: Sat, 13 Sep 2014 14:05:12 +0200 Subject: [PATCH] Update path.class.js Fixes == with === --- src/shapes/path.class.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shapes/path.class.js b/src/shapes/path.class.js index 65c9da12..32eb548b 100644 --- a/src/shapes/path.class.js +++ b/src/shapes/path.class.js @@ -543,7 +543,7 @@ chunks.push(this.path[i].join(' ')); } var path = chunks.join(' '); - if (!(this.group && this.group.type == 'path-group')) { + if (!(this.group && this.group.type === 'path-group')) { addTransform = 'translate(' + (-this.width / 2) + ', ' + (-this.height / 2) + ')'; } markup.push(