rename "external" to "platform"
The e-commerce platform is external to the extension
This commit is contained in:
		
							parent
							
								
									18d6aaa10d
								
							
						
					
					
						commit
						9f65b5a36e
					
				
					 7 changed files with 7 additions and 7 deletions
				
			
		|  | @ -15,13 +15,13 @@ | ||||||
| 	"content_scripts": [ | 	"content_scripts": [ | ||||||
| 		{ | 		{ | ||||||
| 			"matches": ["http://*/*", "https://*/*"], | 			"matches": ["http://*/*", "https://*/*"], | ||||||
| 			"js": ["scripts/external/background.js"] | 			"js": ["scripts/platform/background.js"] | ||||||
| 		} | 		} | ||||||
| 	], | 	], | ||||||
| 	"web_accessible_resources": [ | 	"web_accessible_resources": [ | ||||||
| 		{ | 		{ | ||||||
| 			"matches": ["http://*/*", "https://*/*"], | 			"matches": ["http://*/*", "https://*/*"], | ||||||
| 			"resources": ["scripts/*.js", "scripts/external/*.js"] | 			"resources": ["scripts/*.js", "scripts/platform/*.js"] | ||||||
| 		} | 		} | ||||||
| 	], | 	], | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -3,7 +3,7 @@ | ||||||
| import Tabs from "/scripts/GUI/tabs.js"; | import Tabs from "/scripts/GUI/tabs.js"; | ||||||
| import Window from "/scripts/GUI/window.js"; | import Window from "/scripts/GUI/window.js"; | ||||||
| import IconIndicator from "./iconindicator.js"; | import IconIndicator from "./iconindicator.js"; | ||||||
| import check from "/scripts/external/check.js"; | import check from "/scripts/platform/check.js"; | ||||||
| import pointer from "/scripts/data/pointer.js"; | import pointer from "/scripts/data/pointer.js"; | ||||||
| 
 | 
 | ||||||
| export default class EntryManager { | export default class EntryManager { | ||||||
|  |  | ||||||
|  | @ -7,7 +7,7 @@ The content script | ||||||
| // Import the necessary modules.
 | // Import the necessary modules.
 | ||||||
| (async () => { | (async () => { | ||||||
| 	// Import the watchman module.
 | 	// Import the watchman module.
 | ||||||
| 	let watch = (await import(chrome.runtime.getURL("scripts/external/watch.js"))).default; | 	let watch = (await import(chrome.runtime.getURL("scripts/platform/watch.js"))).default; | ||||||
| 
 | 
 | ||||||
| 	// Begin the job.
 | 	// Begin the job.
 | ||||||
| 	watch.main(); | 	watch.main(); | ||||||
|  | @ -2,7 +2,7 @@ | ||||||
| Process the information on the website and display it on screen.  | Process the information on the website and display it on screen.  | ||||||
| */ | */ | ||||||
| 
 | 
 | ||||||
| import scraper from "/scripts/external/scraper.js"; | import scraper from "/scripts/platform/scraper.js"; | ||||||
| import product from "/scripts/data/product.js"; | import product from "/scripts/data/product.js"; | ||||||
| import {global, background} from "/scripts/secretariat.js"; | import {global, background} from "/scripts/secretariat.js"; | ||||||
| import logging from "/scripts/logging.js"; | import logging from "/scripts/logging.js"; | ||||||
|  | @ -2,8 +2,8 @@ | ||||||
| Be sensitive to changes and update the state. | Be sensitive to changes and update the state. | ||||||
| */ | */ | ||||||
| 
 | 
 | ||||||
| import check from "/scripts/external/check.js"; | import check from "/scripts/platform/check.js"; | ||||||
| import processor from "/scripts/external/processor.js"; | import processor from "/scripts/platform/processor.js"; | ||||||
| import logging from "/scripts/logging.js"; | import logging from "/scripts/logging.js"; | ||||||
| import texts from "/scripts/mapping/read.js"; | import texts from "/scripts/mapping/read.js"; | ||||||
| import {global} from "/scripts/secretariat.js"; | import {global} from "/scripts/secretariat.js"; | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue