From bf50ebad7a9bab59da5e21c12c44baff2c8922e2 Mon Sep 17 00:00:00 2001 From: buzz-lightsnack-2007 <73412182+buzz-lightsnack-2007@users.noreply.github.com> Date: Mon, 29 Apr 2024 08:40:39 +0800 Subject: [PATCH] rename link to background messaging --- scripts/background/background.messaging.js | 14 ++++++++++++++ scripts/background/link.js | 12 ------------ 2 files changed, 14 insertions(+), 12 deletions(-) create mode 100644 scripts/background/background.messaging.js delete mode 100644 scripts/background/link.js diff --git a/scripts/background/background.messaging.js b/scripts/background/background.messaging.js new file mode 100644 index 0000000..1809685 --- /dev/null +++ b/scripts/background/background.messaging.js @@ -0,0 +1,14 @@ +/* link.js +Link the content scripts to the background scripts. +*/ + +class BackgroundMessaging { + constructor () { + // Create a listener for events. + /* chrome.runtime.onMessage.addListener(async (message, sender, sendResponse) => { + + });*/ + } +} + +export default BackgroundMessaging; \ No newline at end of file diff --git a/scripts/background/link.js b/scripts/background/link.js deleted file mode 100644 index 3f0bade..0000000 --- a/scripts/background/link.js +++ /dev/null @@ -1,12 +0,0 @@ -/* link.js -Link the content scripts to the background scripts. -*/ - -class link { - constructor () { - // Create a listener for events. - chrome.runtime.onMessage.addListener(async (message, sender, sendResponse) => { - - }); - } -} \ No newline at end of file