Skip to content

Commit

Permalink
chore: remove temporary code (#12973)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris authored Aug 22, 2024
1 parent f902099 commit b579c5c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/svelte/src/compiler/phases/1-parse/read/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,6 @@ export function read_script(parser, start, attributes) {

if (attribute.name === 'context') {
if (attribute.value === true || !is_text_attribute(attribute)) {
throw new Error('TODO');
}

if (attribute.value.length !== 1 || attribute.value[0].type !== 'Text') {
e.script_invalid_context(attribute);
}

Expand Down

0 comments on commit b579c5c

Please sign in to comment.