Removes extra trim from clean up code.
authorJakub Pawlowicz <contact@jakubpawlowicz.com>
Sun, 5 Oct 2014 18:36:08 +0000 (19:36 +0100)
committerJakub Pawlowicz <contact@jakubpawlowicz.com>
Fri, 10 Oct 2014 20:22:45 +0000 (21:22 +0100)
lib/selectors/optimizers/clean-up.js

index 27b9d8b..52d1e07 100644 (file)
@@ -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, '') + ']'; })