From 2cdf0cb352ab6a2d0f8cb25120e4ebc92c5316e3 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sun, 5 Nov 2023 17:23:37 +0800 Subject: removed autoprefix hover as it will have a high chance of making hover stopped working --- node_modules/balanced-match/index.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'node_modules/balanced-match/index.js') diff --git a/node_modules/balanced-match/index.js b/node_modules/balanced-match/index.js index c67a6460..e8d85870 100644 --- a/node_modules/balanced-match/index.js +++ b/node_modules/balanced-match/index.js @@ -1,4 +1,3 @@ -'use strict'; module.exports = balanced; function balanced(a, b, str) { if (a instanceof RegExp) a = maybeMatch(a, str); @@ -28,9 +27,6 @@ function range(a, b, str) { var i = ai; if (ai >= 0 && bi > 0) { - if(a===b) { - return [ai, bi]; - } begs = []; left = str.length; -- cgit v1.2.3