From cdfd1f596a4e776bb9deacdd7bdb3e5f857fa90a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sat, 1 Dec 2012 13:27:55 -0800 Subject: [PATCH] Fix some comments. --- build/prepro.js | 2 +- src/svg/SvgExport.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/prepro.js b/build/prepro.js index 10e7089a..bfed8277 100755 --- a/build/prepro.js +++ b/build/prepro.js @@ -157,7 +157,7 @@ function stripComments(str) { if (quote) { // When checking for quote escaping, we also need to check that the // escape sign itself is not escaped, as otherwise '\\' would cause - // the wrong impression of and endlessly open string: + // the wrong impression of an unclosed string: if (str[i] === quoteSign && (str[i - 1] !== '\\' || str[i - 2] === '\\')) quote = false; } else if (blockComment) { diff --git a/src/svg/SvgExport.js b/src/svg/SvgExport.js index 8605c6c1..4c699444 100644 --- a/src/svg/SvgExport.js +++ b/src/svg/SvgExport.js @@ -349,7 +349,7 @@ new function() { attrs[entry.attribute] = value == null ? 'none' : entry.type === 'color' - ? value.toCss(false) + ? value.toCss(false) // false for withAlpha, see above : entry.type === 'array' ? value.join(',') : entry.type === 'number'