hoist globals even if they are mentioned in a script block (#3607)

pull/3757/head
Conduitry 5 years ago
parent 3e02b95488
commit 39b387a454

@ -569,6 +569,7 @@ export default class Component {
this.add_var({ this.add_var({
name, name,
global: true, global: true,
hoistable: true
}); });
} }
}); });
@ -661,6 +662,7 @@ export default class Component {
this.add_var({ this.add_var({
name, name,
global: true, global: true,
hoistable: true
}); });
} }
}); });

Loading…
Cancel
Save