Fix up comment.

This commit is contained in:
picklesrus 2018-03-02 11:07:22 -08:00
parent 026b9dc282
commit 16ecaab1be

View file

@ -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;