Skip to content

Commit e10a28c

Browse files
committed
no longer needed
1 parent 7415cea commit e10a28c

File tree

1 file changed

+0
-11
lines changed
  • packages/svelte/src/compiler/phases/1-parse/state

1 file changed

+0
-11
lines changed

packages/svelte/src/compiler/phases/1-parse/state/element.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -513,17 +513,6 @@ function read_attribute(parser) {
513513
let value = true;
514514
if (parser.eat('=')) {
515515
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-
527516
value = read_attribute_value(parser);
528517
end = parser.index;
529518
} else if (parser.match_regex(regex_starts_with_quote_characters)) {

0 commit comments

Comments
 (0)