We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0046ed8 commit aace747Copy full SHA for aace747
packages/svelte/src/reactivity/media-query.js
@@ -3,12 +3,12 @@ import { ReactiveValue } from './reactive-value.js';
3
4
const parenthesis_regex = /\(.+\)/;
5
6
-// this keyworks are valid media queries but they need to be without parenthesis
+// these keywords are valid media queries but they need to be without parenthesis
7
//
8
// eg: new MediaQuery('screen')
9
10
// 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
+// in the media query they'll be surrounded by parenthesis
12
13
// however we can check if the media query is only composed of these keywords
14
// and skip the auto-parenthesis
0 commit comments