code: function L10nResourceLink(link) {
              var href = link.href;
              // Note: If |gAsyncResourceLoading| is false, then the following callbacks
              // are synchronously called.
              this.load = function(lang, callback) {
                  parseResource(href, lang, callback, function() {
                      console.warn(href + " not found.");
                      // lang not found, used default resource instead
                      console.warn('"' + lang + '" resource not found');
                      gLanguage = "";
                      // Resource not loaded, but we still need to call the callback.
                      callback();
                  });
              };
          }
docs: load all resource files