pdf.js/extensions/firefox
Jonas Jenwald 56e1d7746a Re-factor the default preferences generation to support build targets (PR 10548)
Originally the default preferences where simply placed in a JSON-file, checked into the repository, which over time became impractical, annoying, and error-prone to maintain; please see PR 10548.
While that improved the overall situation a fair bit, it however inherited one quite unfortunate property of the old JSON-based solution[1]: It's still not possible for *different* build targets to specify their *own* default preference values.

With some preferences, such as e.g. `enableScripting`, it's not inconceivable that you'd want to (at least) support build-specific default preference values. Currently that's not really possible, which is why this PR re-factors the default preferences generation to support this.

---
[1] This fact isn't really clear from the `AppOptions` implementation, unless you're familiar with the `gulpfile.js` code, which could lead to some confusion for those new to this part of the code-base.
2021-03-20 11:50:48 +01:00
..
content Re-factor the default preferences generation to support build targets (PR 10548) 2021-03-20 11:50:48 +01:00
tools Update Prettier to version 2.0 2020-04-14 12:28:14 +02:00
.eslintrc Enable the ESLint no-var rule globally 2021-03-13 16:12:53 +01:00
README.mozilla Add the commit hash to the README.mozilla file (issue 8347) 2017-04-27 23:01:22 +02:00

This is the PDF.js project output, https://github.com/mozilla/pdf.js

Current extension version is: PDFJSSCRIPT_VERSION

Taken from upstream commit: PDFJSSCRIPT_COMMIT