mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-21 07:47:32 +09:00
[Basilisk] Update pdf.js to version 1.6.467 from Firefox 53.0.2
This commit is contained in:
parent
1eca5a03c2
commit
328408759a
15 changed files with 63242 additions and 69243 deletions
|
|
@ -1,10 +1,10 @@
|
|||
|
||||
'use strict';
|
||||
|
||||
// Small subset of the webL10n API by Fabien Cazenave for pdf.js extension.
|
||||
(function(window) {
|
||||
var gLanguage = '';
|
||||
var gExternalLocalizerServices = null;
|
||||
var gReadyState = 'loading';
|
||||
|
||||
// fetch an l10n objects
|
||||
function getL10nData(key) {
|
||||
|
|
@ -99,6 +99,8 @@
|
|||
|
||||
translateFragment();
|
||||
|
||||
gReadyState = 'complete';
|
||||
|
||||
// fire a 'localized' DOM event
|
||||
var evtObject = document.createEvent('Event');
|
||||
evtObject.initEvent('localized', false, false);
|
||||
|
|
@ -135,6 +137,8 @@
|
|||
return (rtlList.indexOf(shortCode) >= 0) ? 'rtl' : 'ltr';
|
||||
},
|
||||
|
||||
getReadyState: function() { return gReadyState; },
|
||||
|
||||
setExternalLocalizerServices: function (externalLocalizerServices) {
|
||||
gExternalLocalizerServices = externalLocalizerServices;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue