begin converting WakatimeCore

This commit is contained in:
Vu Nguyen
2021-01-16 20:04:53 -06:00
parent d194bcfe60
commit 0c39fbbc79
25 changed files with 1205 additions and 55 deletions

13
src/devtools.ts Normal file
View File

@@ -0,0 +1,13 @@
// // Create a connection to the background page
// const backgroundPageConnection = browser.runtime.connect({
// name: 'devtools-page',
// });
// // Send a message to background page with the current active tabId
// backgroundPageConnection.postMessage({
// name: 'init',
// tabId: browser.devtools.inspectedWindow.tabId,
// });
// eslint-disable-next-line @typescript-eslint/no-floating-promises
browser.devtools.panels.create('Wakatime', 'test.png', 'WakatimeDevPanel.html');