-
Notifications
You must be signed in to change notification settings - Fork 0
File structure
gigafiga21 edited this page Aug 10, 2019
·
1 revision
Files are sorted here by type and script positioning (content or background).
It is necessary to keep in mind all dependences in such kind of architecture. So all files in which block is defined must share same name, here is an example:
CSS
CONTENT
BLOCK.CSS
JS
CONTENT
BLOCK.JS
BACKGROUND
BLOCK.JS
Files, which are common for content and background scripts are laying at the level of CONTENT and BACKGROUND folders:
JS
CONTENT
BACKGROUND
BLOCK.JS
Images are kept in IMG folder.