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

Remove a superfluous "s" in AnnotationsLayerBuilder from files in web/ #6772

Merged
merged 1 commit into from
Dec 18, 2015
Merged

Remove a superfluous "s" in AnnotationsLayerBuilder from files in web/ #6772

merged 1 commit into from
Dec 18, 2015

Conversation

Snuffleupagus
Copy link
Collaborator

This patch makes the naming consistent with the TextLayerBuilder, and also the new AnnotationLayer, and should thus help reduce possible confusion when working with the code.
Please note that the files were renamed using git mv, in order to preserve blame.

@@ -47,7 +47,7 @@ PDFJS.getDocument(DEFAULT_URL).then(function (pdfDocument) {
defaultViewport: pdfPage.getViewport(SCALE),
// We can enable text/annotations layers, if needed
textLayerFactory: new PDFJS.DefaultTextLayerFactory(),
annotationsLayerFactory: new PDFJS.DefaultAnnotationsLayerFactory()
annotationsLayerFactory: new PDFJS.DefaultAnnotationLayerFactory()
Copy link
Contributor

Choose a reason for hiding this comment

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

The key needs to be changed here too, i.e., annotationsLayerFactory becomes annotationLayerFactory.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Whoops, fixed now, thanks for noticing!

This patch makes the naming consistent with the `TextLayerBuilder`, and also the new `AnnotationLayer`, and should thus help reduce possible confusion when working with the code.
Please note that the files were renamed using `git mv`, in order to preserve blame.
@timvandermeij
Copy link
Contributor

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

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

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

@timvandermeij
Copy link
Contributor

/botio test

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

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

Live output at: http://107.21.233.14:8877/80649179c870d92/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

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

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

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

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

Total script time: 20.40 mins

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

@pdfjsbot
Copy link

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/80649179c870d92/output.txt

Total script time: 20.75 mins

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

timvandermeij added a commit that referenced this pull request Dec 18, 2015
…yerBuilder

Remove a superfluous "s" in `AnnotationsLayerBuilder` from files in web/
@timvandermeij timvandermeij merged commit 9228e1f into mozilla:master Dec 18, 2015
@timvandermeij
Copy link
Contributor

Thank you for addressing this; it was bugging me too for some time.

@Snuffleupagus Snuffleupagus deleted the remove-s-in-AnnotationsLayerBuilder branch December 18, 2015 20:16
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.

None yet

3 participants