Based on http://pastebin.mozilla.org/3061694
1. Remove "debug helpers" and use console.log/console.warn directly (top).
2. Remove page load initialization (middle).
3. Remove window._ alias (bottom)
The original diff contained an extra entry
"Adds fallback argument to the getL10nData;",
but this was already implemented in the rebased webL10n, so it's no
longer PDF.js-specific.
Base version of l10n:
- b18c753c6f
4 extra commits (expected to be accepted):
- https://github.com/fabi1cazenave/webL10n/pull/38
New features compared to mozL10n:
- Support for getting translated attributes in get()
The previous version of mozL10n was based on:
- 0c06867a75
- diff: http://pastebin.mozilla.org/3061694
To make it easier to update webL10n in the future, I will apply
the PDF.js-specific changes in a separate commit.