From 562995dbd78d4bf4ea00bde976b8796219fa447d Mon Sep 17 00:00:00 2001 From: WangXinhai <18907191365@189.cn> Date: Sun, 1 Apr 2018 15:51:06 +0800 Subject: [PATCH] eslint fix againt --- src/components/ThemePicker/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ThemePicker/index.vue b/src/components/ThemePicker/index.vue index 7ec4af06..b8eacc01 100644 --- a/src/components/ThemePicker/index.vue +++ b/src/components/ThemePicker/index.vue @@ -69,7 +69,7 @@ export default { const colorOverrides = [] // only capture color overides oldCluster.forEach((color, index) => { const value = newCluster[index] - const color_plain = color.replace(/([()])/g,'\\$1') + const color_plain = color.replace(/([()])/g, '\\$1') const repl = new RegExp(`(^|})([^{]+{[^{}]+)${color_plain}\\b([^}]*)(?=})`, 'gi') const nestRepl = new RegExp(color_plain, 'ig') // for greed matching before the 'color' let v