From 16ecaab1be8d44e96e151524c16f0b7d6e864615 Mon Sep 17 00:00:00 2001 From: picklesrus Date: Fri, 2 Mar 2018 11:07:22 -0800 Subject: [PATCH] Fix up comment. --- src/extension-support/extension-manager.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extension-support/extension-manager.js b/src/extension-support/extension-manager.js index 49a617379..d49be91cf 100644 --- a/src/extension-support/extension-manager.js +++ b/src/extension-support/extension-manager.js @@ -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;