sourcegraph / sourcegraph-extension-api

Sourcegraph extension API: use and build extensions that enhance reading and reviewing code in your existing tools. "The extension API you wish your code host had."
44 stars 2 forks source link

createWebWorkerMessageTransports could be implicit #35

Closed chrismwendt closed 6 years ago

chrismwendt commented 6 years ago

Since createWebWorkerMessageTransports(self) must be called for every extension, then it could be moved into the activateExtension() function.

slimsag commented 6 years ago

The code looks very different today, feel free to reopen if you still think this is something we should address.