mirror of
https://github.com/google/blockly.git
synced 2026-01-09 01:50:11 +01:00
chore: Clean up variable assignment. (#7962)
* chore: Clean up variable assignment. * fix: variable now const as a result of prev commit
This commit is contained in:
@@ -75,8 +75,7 @@ export function load(
|
||||
}
|
||||
|
||||
// reverse() is destructive, so we have to re-reverse to correct the order.
|
||||
for (let [name, deserializer] of deserializers.reverse()) {
|
||||
name = name;
|
||||
for (const [name, deserializer] of deserializers.reverse()) {
|
||||
const pluginState = state[name];
|
||||
if (pluginState) {
|
||||
(deserializer as ISerializer)?.load(state[name], workspace);
|
||||
|
||||
Reference in New Issue
Block a user