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

Small JSHint fixes #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

matiaszanolli
Copy link

When I cloned the project I found some small issues regarding the code, mostly syntax-related stuff and some deprecated things.

As I don't want to try to make big changes to the code before I fully understand it, I think cleaning it up can be a good starting point.

It would be great if any of you can try it before merging it, I've made some local testing and seems to be working fine anyway.

loader.js Outdated
mame: img("/images/mame.png"),
mess: img("/images/mess.png"),
dosbox: img("/images/dosbox.png")
} : {
Copy link
Owner

Choose a reason for hiding this comment

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

I can't merge that; the indentation is terrible. The colon of the tertiary operator must line up with the question mark.

Copy link
Author

Choose a reason for hiding this comment

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

Sorry, I'm used to a different kind of indentation. I'll get it fixed.

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