Skip to content

Commit

Permalink
chore: merge branch main
Browse files Browse the repository at this point in the history
  • Loading branch information
yuschick committed Dec 29, 2023
2 parents 5bb1a6a + c492036 commit 29e24ef
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/utils/findVendorPrefixes.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
const expression = /-\b(moz|ms|o|webkit)\b-/g;

export function findVendorPrefixes(selector) {
console.log(selector);
if (!selector) return false;

let prefixesFound = [...selector.trim().matchAll(expression)];
console.log(prefixesFound);
return prefixesFound.length > 1;
}

0 comments on commit 29e24ef

Please sign in to comment.