Don't import SVG IDs at all

This commit is contained in:
adroitwhiz 2020-06-25 15:40:08 -04:00
parent 3e4927f6be
commit 54d776557f

View file

@ -445,10 +445,6 @@ new function() {
}, {}), {
id: function(item, value) {
definitions[value] = item;
// Same check used in setName to test if IDs are numeric. Numeric IDs make setName throw an exception.
// Better to duplicate the check than to wrap this in a try block & swallow all other potential exceptions.
if (item.setName && ((+value) + '' !== value))
item.setName(value);
},
'clip-path': function(item, value) {