rename link to background messaging
This commit is contained in:
		
							parent
							
								
									c5fcf03e80
								
							
						
					
					
						commit
						bf50ebad7a
					
				
					 2 changed files with 14 additions and 12 deletions
				
			
		
							
								
								
									
										14
									
								
								scripts/background/background.messaging.js
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								scripts/background/background.messaging.js
									
										
									
									
									
										Normal file
									
								
							|  | @ -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; | ||||||
|  | @ -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) => { |  | ||||||
|                 |  | ||||||
|           }); |  | ||||||
|      } |  | ||||||
| } |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue