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

pull/3745/head
Conduitry 6 years ago
parent 2e2b0c9175
commit b23446112a

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

Loading…
Cancel
Save