Code refactoring
Closed this issue · 2 comments
vvatelot commented
- Extract common functions (API calls, set badge, update local storage...)
- Update badge status after an analysis have been made in the popup
jpkha commented
What about refactoring the code by changing polyfill file name and put inside all the common function, variable we have between popup.js and background.js ? So we got one file which holds the logic and only one import in popup and background js ?
vvatelot commented
GO GO GO !