Skip to content

Commit aace747

Browse files
chore: i has english knowledge
1 parent 0046ed8 commit aace747

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/svelte/src/reactivity/media-query.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ import { ReactiveValue } from './reactive-value.js';
33

44
const parenthesis_regex = /\(.+\)/;
55

6-
// this keyworks are valid media queries but they need to be without parenthesis
6+
// these keywords are valid media queries but they need to be without parenthesis
77
//
88
// eg: new MediaQuery('screen')
99
//
1010
// however because of the auto-parenthesis logic in the constructor since there's no parentehesis
11-
// in the media query they'll be surrounded by parentehesis
11+
// in the media query they'll be surrounded by parenthesis
1212
//
1313
// however we can check if the media query is only composed of these keywords
1414
// and skip the auto-parenthesis

0 commit comments

Comments
 (0)