mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Fix up comment.
This commit is contained in:
parent
026b9dc282
commit
16ecaab1be
1 changed files with 2 additions and 2 deletions
|
@ -264,8 +264,8 @@ class ExtensionManager {
|
|||
// we can use it later when converting the menu for Scratch Blocks.
|
||||
if (typeof menus[item] === 'string') {
|
||||
const serviceObject = dispatch.services[serviceName];
|
||||
const menuFunc = serviceObject[menus[item]].bind(serviceObject);
|
||||
menus[item] = menuFunc;
|
||||
// TODO: Fix this to use dispatch.call when extensions are running in workers.
|
||||
menus[item] = serviceObject[menus[item]].bind(serviceObject);
|
||||
}
|
||||
}
|
||||
return menus;
|
||||
|
|
Loading…
Reference in a new issue