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

Removing unused code and enforcing additional JSHint options #5059

Merged
merged 3 commits into from
Jul 29, 2014

Conversation

timvandermeij
Copy link
Contributor

This PR consists of three commits.

  • The first commit removes unused code (and fixes small code style issues).
  • The second commit enforces JSHint's undef option and makes the necessary changes to make lint succeed.
  • The third commit enforces JSHint's noarg and nonbsp options. No code changes were necessary for this, but it's good to enforce them to avoid having them appear in the codebase in the future.

@timvandermeij timvandermeij changed the title Removing unused code Removing unused code and enforcing undef Jul 19, 2014
@timvandermeij timvandermeij changed the title Removing unused code and enforcing undef Removing unused code and enforcing JSHint's undef option Jul 19, 2014
@timvandermeij timvandermeij changed the title Removing unused code and enforcing JSHint's undef option Removing unused code and enforcing additional JSHint options Jul 19, 2014
@yurydelendik yurydelendik self-assigned this Jul 21, 2014
@timvandermeij
Copy link
Contributor Author

/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/27534178ce32ea7/output.txt

@timvandermeij
Copy link
Contributor Author

/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/005f7088887d127/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/a5e095727a7a440/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

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

Total script time: 21.15 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/005f7088887d127/output.txt

Total script time: 23.26 mins

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

@yurydelendik
Copy link
Contributor

Looks good. I'll run test again though

/botio test

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

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

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

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

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

Live output at: http://107.21.233.14:8877/3f057616a78c286/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

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

Total script time: 21.23 mins

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

@yurydelendik
Copy link
Contributor

/botio-windows lint

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

Command cmd_lint from @yurydelendik received. Current queue size: 0

Live output at: http://107.22.172.223:8877/386493daa8523c6/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Success

Full output at http://107.22.172.223:8877/386493daa8523c6/output.txt

Total script time: 0.94 mins

  • Lint: Passed

@pdfjsbot
Copy link

From: Bot.io (Linux)


Success

Full output at http://107.21.233.14:8877/3f057616a78c286/output.txt

Total script time: 23.38 mins

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

yurydelendik added a commit that referenced this pull request Jul 29, 2014
Removing unused code and enforcing additional JSHint options
@yurydelendik yurydelendik merged commit 7026543 into mozilla:master Jul 29, 2014
@yurydelendik
Copy link
Contributor

Thank you

@timvandermeij timvandermeij deleted the unused-code branch July 29, 2014 20:06
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.

3 participants