mozilla-b2g/gaia — pull request #2914 by fabi1cazenave (2012-07-27 20:25:16+00:00)
Title: [Calendar] avoid the blank screen at startup

See issue #2729 — we had two problems there:

* sometimes, the `l10n.js` library fired the `localized` event *before* the main calendar JS files started;
* the `Makefile` could not copy shared files (including `l10n.js) because their URLs were starting with a slash.

The `l10n.js` library now exposes a `readyState` property that can be checked to prevent race conditions.