Skip to content

JSLint improvement#96

Merged
adamwulf merged 8 commits intoadamwulf:masterfrom
tomalterman:master
Mar 26, 2013
Merged

JSLint improvement#96
adamwulf merged 8 commits intoadamwulf:masterfrom
tomalterman:master

Conversation

@tomalterman
Copy link
Contributor

Cleaned up the code using JSLint as a guide for best practice. Doesn't change the functionality, just reduces the chance of unexpected errors and improves maintenance.

Changes include:

  1. ensure vars are declared out of loop and are not out of scope define radix for parseint
  2. using !== to compare to null and removed repeated var declaration removed repeated var
  3. declarations added missing semicolons
  4. updated another comparison to 0 to ===
  5. using === to compare to 0
  6. removed all trailing whitespace and mixture of space and tabs

adamwulf added a commit that referenced this pull request Mar 26, 2013
@adamwulf adamwulf merged commit 478350c into adamwulf:master Mar 26, 2013
@adamwulf
Copy link
Owner

thanks!

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.

2 participants