packages/searchive-app/static/pdfjs/web/l10n.js
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();
                });
            };
        }
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();
                });
            };
        }
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 ( ) ; } ) ; } ; }
load all resource files
load all resource files