Skip to content

Commit

Permalink
fix: typo (#13864)
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-He95 committed Jun 20, 2024
1 parent eef91c9 commit a61e5aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/corePlugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ export let variantPlugins = {
let check = normalize(value)
let isRaw = /^\w*\s*\(/.test(check)

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

Expand Down
2 changes: 1 addition & 1 deletion src/util/parseAnimationValue.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const TIMINGS = new Set([
])
const TIMING_FNS = ['cubic-bezier', 'steps']

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

0 comments on commit a61e5aa

Please sign in to comment.