Skip to content

Commit b579c5c

Browse files
authored
chore: remove temporary code (#12973)
1 parent f902099 commit b579c5c

File tree

1 file changed

+0
-4
lines changed
  • packages/svelte/src/compiler/phases/1-parse/read

1 file changed

+0
-4
lines changed

packages/svelte/src/compiler/phases/1-parse/read/script.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,6 @@ export function read_script(parser, start, attributes) {
6565

6666
if (attribute.name === 'context') {
6767
if (attribute.value === true || !is_text_attribute(attribute)) {
68-
throw new Error('TODO');
69-
}
70-
71-
if (attribute.value.length !== 1 || attribute.value[0].type !== 'Text') {
7268
e.script_invalid_context(attribute);
7369
}
7470

0 commit comments

Comments
 (0)