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

Fix linting errors #130

Merged
merged 3 commits into from
Sep 1, 2014
Merged

Fix linting errors #130

merged 3 commits into from
Sep 1, 2014

Conversation

lholmquist
Copy link
Contributor

This fixes the linting errors when running grunt so a successful build can happen

Also removes whitespace( thanks sublime text )

posX = touch.clientX - rect.left - parseInt(style.paddingLeft),
posY = touch.clientY - rect.top - parseInt(style.paddingTop);
posX = touch.clientX - rect.left - parseInt(style.paddingLeft, 10),
posY = touch.clientY - rect.top - parseInt(style.paddingTop, 10);
Copy link
Contributor

Choose a reason for hiding this comment

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

While we're at it can we indent these variable declarations 2 spaces to the right?

var el is on the same indentation as normalizeTouch: function(...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated

cykod added a commit that referenced this pull request Sep 1, 2014
@cykod cykod merged commit d01b6a3 into cykod:master Sep 1, 2014
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