cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zalun <...@git.apache.org>
Subject [GitHub] cordova-plugin-globalization pull request: CB-7515 [FFOS Globaliza...
Date Wed, 10 Sep 2014 21:48:36 GMT
Github user zalun commented on a diff in the pull request:

    https://github.com/apache/cordova-plugin-globalization/pull/22#discussion_r17391437
  
    --- Diff: src/firefoxos/GlobalizationProxy.js ---
    @@ -24,12 +24,25 @@ var GlobalizationError = require('./GlobalizationError');
     var l10n_loaded = new Event('l10n_loaded');
     var l10n_ready = new Event('l10n_ready');
     
    +var is_l10n_ready = false;
    +
     document.addEventListener('l10n_loaded', function() {
    +  console.log('DEBUG: L10n loaded');
       navigator.mozL10n.ready(function() {
    +    console.log('DEBUG: L10n ready');
    --- End diff --
    
    I was thinking it might be useful for someone who is working with translations... Would
help to detect race condition...


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message