Create a helper to simplify controlling mozL10n's ready and document's mozDOMLocalized events

NEW
Unassigned

Status

Firefox OS
Gaia::L10n
P4
normal
3 years ago
3 years ago

People

(Reporter: stas, Unassigned)

Tracking

(Depends on: 1 bug, Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

Before we can remove the localized event fired on window (bug 1020247), we might want to provide an easy way to control the mozL10n's ready and the document's mozDOMLocalized (bug 1020243) events at the same time.  These events are orthogonal, so a helper function in shared/js/ could help reduce some boilerplate code.
WIP: https://github.com/stasm/gaia/tree/1000806-events-one-wrapper-to-rule-them-all
Priority: -- → P4
You need to log in before you can comment on or make changes to this bug.