Public Lab
Code Refactoring for capture.js
Code Refactoring is a process of application's restructuring which optimizes its internal structure but leaves its basic functionality untouched. Being a component of framework development, refactoring can cause difficult-to-detect bugs due to incorrect utilization.
Currently, capture.js has 700+ LOC which is not a good practice. It's function modules needs to be broken down into small files and should be used by importing in the captutre.js
file without breaking any of the current functionalities. Try creating separate files one by one for functions and import it in capture.js
, and do testing along with it.
Issue Link: https://github.com/publiclab/spectral-workbench.js/issues/141
Task tags
Students who completed this task
pythongiant