Closed Bug 1088402 Opened 10 years ago Closed 9 years ago

[Calendar] bundle shared AMD modules to avoid code duplication

Categories

(Firefox OS Graveyard :: Gaia::Calendar, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mmedeiros, Assigned: mmedeiros)

References

Details

right now our build script bundles each View individually but shared dependencies are not included into the "main.js" file (ie. each view contains a copy of the abstract view and a few other shared modules)

we should try to bundle as much as possible into the "main.js", without degrading the initial load time performance, or come up with a different solution to avoid the code duplication.
also include all the views needed during load complete (MonthView, MonthDayAgendaView, Errors, etc..)
Assignee: nobody → mmedeiros
Blocks: 1079557
Status: NEW → ASSIGNED
resolved by Bug 1079557
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.