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

Use the |shadow| function from src/shared/util.js in viewer.js #5691

Merged
merged 2 commits into from
Feb 2, 2015
Merged

Use the |shadow| function from src/shared/util.js in viewer.js #5691

merged 2 commits into from
Feb 2, 2015

Conversation

Snuffleupagus
Copy link
Collaborator

While working on refactoring the PresentationMode code, I noticed that in viewer.js we currently repeat the same "shadowing" code six times. Since this is a verbatim copy of https://github.com/mozilla/pdf.js/blob/master/src/shared/util.js#L321, I think it makes sense to just use that function instead.

@Snuffleupagus
Copy link
Collaborator Author

/botio-linux preview

@pdfjsbot
Copy link

pdfjsbot commented Feb 1, 2015

From: Bot.io (Linux)


Received

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

Live output at: http://107.21.233.14:8877/d0defa6dfdc54d8/output.txt

@timvandermeij
Copy link
Contributor

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Feb 2, 2015

From: Bot.io (Linux)


Received

Command cmd_test from @timvandermeij received. Current queue size: 0

Live output at: http://107.21.233.14:8877/237382532190ca9/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Feb 2, 2015

From: Bot.io (Windows)


Received

Command cmd_test from @timvandermeij received. Current queue size: 0

Live output at: http://107.22.172.223:8877/b97dfb58847da7d/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Feb 2, 2015

From: Bot.io (Windows)


Success

Full output at http://107.22.172.223:8877/b97dfb58847da7d/output.txt

Total script time: 17.56 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

@pdfjsbot
Copy link

pdfjsbot commented Feb 2, 2015

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/237382532190ca9/output.txt

Total script time: 23.04 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

timvandermeij added a commit that referenced this pull request Feb 2, 2015
Use the |shadow| function from src/shared/util.js in viewer.js
@timvandermeij timvandermeij merged commit ccf05c7 into mozilla:master Feb 2, 2015
@timvandermeij
Copy link
Contributor

Nice work!

@Snuffleupagus Snuffleupagus deleted the viewer-shadow branch February 2, 2015 22:07
speedplane pushed a commit to speedplane/pdf.js that referenced this pull request Feb 24, 2015
Use the |shadow| function from src/shared/util.js in viewer.js
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