mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Merge pull request #1701 from brendandahl/fallback-ui
Fallback UI for Extension
This commit is contained in:
commit
f991af003d
13 changed files with 190 additions and 68 deletions
7
make.js
7
make.js
|
@ -110,6 +110,10 @@ target.locale = function() {
|
|||
cp(path + '/viewer.properties', EXTENSION_LOCALE_OUTPUT + '/' + locale);
|
||||
}
|
||||
|
||||
if (test('-f', path + '/chrome.properties')) {
|
||||
cp(path + '/chrome.properties', EXTENSION_LOCALE_OUTPUT + '/' + locale);
|
||||
}
|
||||
|
||||
if (test('-f', path + '/metadata.inc')) {
|
||||
var metadata = cat(path + '/metadata.inc');
|
||||
metadataContent += metadata;
|
||||
|
@ -398,7 +402,8 @@ target.mozcentral = function() {
|
|||
'components',
|
||||
'../../LICENSE'],
|
||||
DEFAULT_LOCALE_FILES =
|
||||
[LOCALE_SRC_DIR + 'en-US/viewer.properties'],
|
||||
[LOCALE_SRC_DIR + 'en-US/viewer.properties',
|
||||
LOCALE_SRC_DIR + 'en-US/chrome.properties'],
|
||||
FIREFOX_MC_EXTENSION_FILES =
|
||||
['chrome.manifest',
|
||||
'components',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue