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

Chore: Enable PDF signatures in future builds of PDF.js #852

Merged
merged 2 commits into from
Oct 23, 2018
Merged

Chore: Enable PDF signatures in future builds of PDF.js #852

merged 2 commits into from
Oct 23, 2018

Conversation

jeremypress
Copy link
Contributor

No description provided.

@boxcla
Copy link

boxcla commented Oct 23, 2018

Verified that @jeremypress has signed the CLA. Thanks for the pull request!

echo "Enabling PDF signatures"
echo "-----------------------------------------------------------------------------------"
# Deletes a block of code that starts with `if (data.fieldType === 'Sig') {``, and ends with `}`
sed -e "/if (data.fieldType === 'Sig') {/,/}/d" -i '' src/third-party/doc/1.30.0/pdf.worker.js
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should you use DOC_STATIC_ASSETS_VERSION?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, forgot to put it back after testing.

@DanDeMicco
Copy link
Contributor

Should we add some safeguards to this file to make it so if any of these modifications fails to do something, it fails the build?

@jeremypress jeremypress merged commit 4d61afa into box:master Oct 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants