From: Jakub Pawlowicz Date: Sun, 5 Oct 2014 18:36:08 +0000 (+0100) Subject: Removes extra trim from clean up code. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=6406ffd6d0622174a44419121ef4428844bc4b60;p=clean-css.git Removes extra trim from clean up code. --- diff --git a/lib/selectors/optimizers/clean-up.js b/lib/selectors/optimizers/clean-up.js index 27b9d8ba..52d1e074 100644 --- a/lib/selectors/optimizers/clean-up.js +++ b/lib/selectors/optimizers/clean-up.js @@ -4,7 +4,6 @@ var CleanUp = { for (var i = 0, l = selectors.length; i < l; i++) { var reduced = selectors[i] - .trim() .replace(/\s*([>\+\~])\s*/g, '$1') .replace(/\*([:#\.\[])/g, '$1') .replace(/\[([^\]]+)\]/g, function (match, value) { return '[' + value.replace(/\s/g, '') + ']'; })