joint
joint copied to clipboard
Error: Invalid value for <text> attribute transform=" "
on line 20349 inside function positionRelative, you forgot a .trim()
vel.attr('transform', (vel.attr('transform').replace(/translate\([^)]*\)/g, '') || '').trim());
instead of
vel.attr('transform', vel.attr('transform').replace(/translate\([^)]*\)/g, '') || '');
this omission causes some translate commands to be stripped away to just " " which is not a valid transform command
Fixed in v0.9.1 (it can be downloaded from https://github.com/DavidDurman/joint/tree/master/dist)