rename watchman to watch

for simplicity
This commit is contained in:
buzz-lightsnack-2007 2024-04-15 14:15:40 +08:00
parent c03d7521f3
commit 3cad442a40
2 changed files with 5 additions and 5 deletions

View file

@ -18,7 +18,7 @@
"content_scripts": [ "content_scripts": [
{ {
"matches": ["http://*/*", "https://*/*"], "matches": ["http://*/*", "https://*/*"],
"js": ["scripts/external/watchman.js"] "js": ["scripts/external/watch.js"]
} }
], ],
"web_accessible_resources": [ "web_accessible_resources": [

View file

@ -29,13 +29,13 @@ let main = (async () => {
console.log("ShopAI works here! Click on the button in the toolbar or website to start."); console.log("ShopAI works here! Click on the button in the toolbar or website to start.");
// Show loading screen while the load is incomplete. // Show loading screen while the load is incomplete.
// Set the icon to indicate that it's active.
// Begin.
let PROC = new processor(matches); let PROC = new processor(matches);
// Begin only when the page is fully loaded.
window.addEventListener(`load`, (event) => { window.addEventListener(`load`, (event) => {
// Remove the loading screen. // Remove the loading screen.
}); });
} }