Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move the compatibilityParams into the web/app_options.js file #13804

Merged

Conversation

Snuffleupagus
Copy link
Collaborator

Given that we've over time been reducing the number of compatibilityParams in use, there's now few enough left that I think it makes sense to simply inline them directly in the web/app_options.js file.
Note that we recently inlined/removed the separate src/display/api_compatibility.js file, see PR #13525, and that it (in my opinion) thus makes sense to do the same in the web/-folder. This patch will also slightly reduce the size of built web/viewer.js file, which cannot hurt.

Given that we've over time been reducing the number of `compatibilityParams` in use, there's now few enough left that I think it makes sense to simply inline them directly in the `web/app_options.js` file.
Note that we recently inlined/removed the separate `src/display/api_compatibility.js` file, see PR 13525, and that it (in my opinion) thus makes sense to do the same in the `web/`-folder. This patch will also slightly reduce the size of *built* `web/viewer.js` file, which cannot hurt.
@Snuffleupagus
Copy link
Collaborator Author

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_preview from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.67.70.0:8877/70813f9b3d266d6/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/70813f9b3d266d6/output.txt

Total script time: 4.92 mins

Published

@timvandermeij timvandermeij merged commit d3dffa7 into mozilla:master Jul 27, 2021
@timvandermeij
Copy link
Contributor

Looks good!

@Snuffleupagus Snuffleupagus deleted the move-viewer-compatibilityParams branch July 27, 2021 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants