Skip to content

Commit a61e5aa

Browse files
authored
fix: typo (#13864)
1 parent eef91c9 commit a61e5aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/corePlugins.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ export let variantPlugins = {
412412
let check = normalize(value)
413413
let isRaw = /^\w*\s*\(/.test(check)
414414

415-
// Chrome has a bug where `(condtion1)or(condition2)` is not valid
415+
// Chrome has a bug where `(condition1)or(condition2)` is not valid
416416
// But `(condition1) or (condition2)` is supported.
417417
check = isRaw ? check.replace(/\b(and|or|not)\b/g, ' $1 ') : check
418418

src/util/parseAnimationValue.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const TIMINGS = new Set([
1313
])
1414
const TIMING_FNS = ['cubic-bezier', 'steps']
1515

16-
const COMMA = /\,(?![^(]*\))/g // Comma separator that is not located between brackets. E.g.: `cubiz-bezier(a, b, c)` these don't count.
16+
const COMMA = /\,(?![^(]*\))/g // Comma separator that is not located between brackets. E.g.: `cubic-bezier(a, b, c)` these don't count.
1717
const SPACE = /\ +(?![^(]*\))/g // Similar to the one above, but with spaces instead.
1818
const TIME = /^(-?[\d.]+m?s)$/
1919
const DIGIT = /^(\d+)$/

0 commit comments

Comments
 (0)