Skip to content
This repository was archived by the owner on Dec 12, 2022. It is now read-only.

Commit e524af7

Browse files
committed
Confirm uncertain comment: this line is infact necessary
1 parent cc8a91c commit e524af7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/app/ContentBridge.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default class ContentBridge extends EventTarget {
3333
name: 'three-devtools',
3434
});
3535

36-
// @TODO I think this can be removed
36+
// Notify background port that the tools panel is open
3737
this.port.postMessage({
3838
name: 'connect',
3939
tabId: browser.devtools.inspectedWindow.tabId,
@@ -44,7 +44,7 @@ export default class ContentBridge extends EventTarget {
4444
});
4545

4646
this.port.onMessage.addListener(e => this[$onMessage](e));
47-
47+
4848
document.addEventListener('keydown', e => {
4949
let mode, space;
5050
switch (e.key) {

0 commit comments

Comments
 (0)