Gaia/System/Refactoring Plan: Difference between revisions

Line 14: Line 14:
== Stage.1 - Painless instantiation ==
== Stage.1 - Painless instantiation ==
Rewrite all modules to be instantiable and rewrite unit tests, as well as jsdoc.
Rewrite all modules to be instantiable and rewrite unit tests, as well as jsdoc.
The stage’s target is to make sure we could have the following pattern:
The stage’s target is to make sure we could have the following pattern:


Line 29: Line 30:
and there’s no architecture design involved in this stage.
and there’s no architecture design involved in this stage.
Even a new employee could take one of the modules to rewrite it correctly.
Even a new employee could take one of the modules to rewrite it correctly.
I'd already filed bugs (87 bugs, excluding downloadmananger and fxaccounts for now. Take as you like!) of this stage for every js under the system app. See meta bug.
I'd already filed bugs (87 bugs, excluding downloadmananger and fxaccounts for now. Take as you like!) of this stage for every js under the system app. See meta bug.


Confirmed users
401

edits