From 3f875c7517fb903285c8b19bc0d6440901e08bf3 Mon Sep 17 00:00:00 2001 From: GoalSmashers Date: Sat, 22 Dec 2012 00:05:31 +0100 Subject: [PATCH] Fixed code escaping warning. --- lib/clean.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/clean.js b/lib/clean.js index bf6a4d8c..19d42624 100644 --- a/lib/clean.js +++ b/lib/clean.js @@ -169,7 +169,7 @@ var CleanCSS = { var colorSwitcher = function(match, prefix, colorValue, suffix) { return prefix + CleanCSS.colors[type][colorValue] + suffix; }; - replace(new RegExp("([ :,\(])" + pattern + "([;\\}!\\) ])", 'g'), colorSwitcher); + replace(new RegExp("([ :,\\(])" + pattern + "([;\\}!\\) ])", 'g'), colorSwitcher); replace(new RegExp("(,)" + pattern + "(,)", 'g'), colorSwitcher); }); -- 2.34.1