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 7415cea commit e10a28cCopy full SHA for e10a28c
packages/svelte/src/compiler/phases/1-parse/state/element.js
@@ -513,17 +513,6 @@ function read_attribute(parser) {
513
let value = true;
514
if (parser.eat('=')) {
515
parser.allow_whitespace();
516
- let value_start = 0;
517
-
518
- // Validate the bind: value doesn't start with a paren
519
- if (name.startsWith('bind:')) {
520
- const start = parser.index;
521
- parser.eat('{');
522
- parser.allow_whitespace();
523
- value_start = parser.index;
524
- parser.index = start;
525
- }
526
527
value = read_attribute_value(parser);
528
end = parser.index;
529
} else if (parser.match_regex(regex_starts_with_quote_characters)) {
0 commit comments