From cf20f5c6ca847346ee95049889460cede01e91cc Mon Sep 17 00:00:00 2001 From: GreLI Date: Thu, 25 Aug 2016 22:18:04 +0300 Subject: [PATCH] Loosed fixes --- plugins/cleanupIDs.js | 1 - test/plugins/cleanupIDs.05.svg | 14 ++++++-------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/plugins/cleanupIDs.js b/plugins/cleanupIDs.js index 6905fc19..d250f3a7 100644 --- a/plugins/cleanupIDs.js +++ b/plugins/cleanupIDs.js @@ -132,7 +132,6 @@ exports.fn = function(data, params) { IDs.get(key).attr('id').value = currentIDstring; references.forEach(function(attr) { - // console.log(key) attr.value = attr.value .replace('#' + key, '#' + currentIDstring) .replace(key + '.', currentIDstring + '.'); diff --git a/test/plugins/cleanupIDs.05.svg b/test/plugins/cleanupIDs.05.svg index 97dc0938..c27e3a3b 100644 --- a/test/plugins/cleanupIDs.05.svg +++ b/test/plugins/cleanupIDs.05.svg @@ -8,13 +8,12 @@ - - + @@@ @@ -22,18 +21,17 @@ - + - + - - - - + + +