fabi1cazenave/gaia — pull request #7 by ochameau (2012-12-19 22:43:23+00:00)
Title: Ensure navigator.mozL10n is defined before accessing it from buils/webapps-l10n.js

I don't really know why you reverted that from my commit, but this is an important change.
Without that `mozL10n` is undefined here:
https://github.com/ochameau/gaia/blob/cca3a279192747a49ec8f1c3988590ec23d75cac/build/webapp-l10n.js#L104
That's because the localized event can be dispatched synchronously in l10nStartup, before we even reach `navigator.mozL10n = {...}`.