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 more ES6 syntax in the annotation code #11108

Merged
merged 2 commits into from
Sep 2, 2019

Conversation

timvandermeij
Copy link
Contributor

@timvandermeij timvandermeij commented Aug 31, 2019

Given that there are some open issues regarding annotations, I think it's a good idea to, before we start working on them, make sure that the annotation code is cleaned up and completely uses ES6 syntax. This commit series does that.

`let` is converted to `const` where possible, `var` usage is disabled
and template strings are used where possible.
@timvandermeij
Copy link
Contributor Author

/botio test

src/core/annotation.js Outdated Show resolved Hide resolved
src/core/annotation.js Outdated Show resolved Hide resolved
`let` is converted to `const` where possible.
@mozilla mozilla deleted a comment from pdfjsbot Sep 2, 2019
@mozilla mozilla deleted a comment from pdfjsbot Sep 2, 2019
@mozilla mozilla deleted a comment from pdfjsbot Sep 2, 2019
@mozilla mozilla deleted a comment from pdfjsbot Sep 2, 2019
@timvandermeij
Copy link
Contributor Author

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Sep 2, 2019

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.67.70.0:8877/cb4a1fd4ccdc424/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Sep 2, 2019

From: Bot.io (Windows)


Received

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

Live output at: http://54.215.176.217:8877/6cfa02c1e5941e7/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Sep 2, 2019

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/cb4a1fd4ccdc424/output.txt

Total script time: 17.64 mins

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

@pdfjsbot
Copy link

pdfjsbot commented Sep 2, 2019

From: Bot.io (Windows)


Success

Full output at http://54.215.176.217:8877/6cfa02c1e5941e7/output.txt

Total script time: 25.85 mins

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

@timvandermeij timvandermeij merged commit e59b118 into mozilla:master Sep 2, 2019
@timvandermeij timvandermeij deleted the es6-annotations branch September 2, 2019 21:13
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