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

Jquery's each method linting #77

Closed
lmartins opened this issue Feb 17, 2014 · 1 comment
Closed

Jquery's each method linting #77

lmartins opened this issue Feb 17, 2014 · 1 comment

Comments

@lmartins
Copy link

When using the each method from jquery, I alway get a "inconsistent indentation" error on the 2nd line, where says frag += in this example:

$.each content, (index, obj) ->
  frag +=
    template.replace( /{{title}}/ig, obj.title )
            .replace( /{{thumbnail}}/ig, obj.thumbnail )

Is this a compatibility issue?

@aparajita
Copy link
Contributor

Please report this in the repo of the linter you are using (jshint, gjslint, etc.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants