Add test for whitespace between commas

This commit is contained in:
Paul Kaplan 2014-07-14 09:57:14 -05:00
parent 112dce71a3
commit a1cde528dc

View file

@ -196,7 +196,7 @@
ok(fabric.parsePointsAttribute);
var element = fabric.document.createElement('polygon');
element.setAttribute('points', '10,12 20,22, -0.52,0.001 2.3e2,2.3e-2, 10,-1 ');
element.setAttribute('points', '10, 12 20 ,22, -0.52,0.001 2.3e2,2.3e-2, 10,-1 ');
var actualPoints = fabric.parsePointsAttribute(element.getAttribute('points'));