chore: remove temporary code (#12973)

pull/12975/head
Rich Harris 4 months ago committed by GitHub
parent f9020997e9
commit b579c5c06c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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);
}

Loading…
Cancel
Save