quick-ng-repeat icon indicating copy to clipboard operation
quick-ng-repeat copied to clipboard

Made quick-ng-repeat work with jshint

Open Rastii opened this issue 11 years ago • 0 comments

When I attempted to add this module into an existing angular project, I noticed a ton of errors/warnings using JSHint.

This pull request simply makes JSHint not scream at the code with the following changes:

  • Removed unnecessary semicolons after function declarations.
  • Added missing brackets in conditional statements.
  • Added missing semi colons for closure function declarations.
  • Removed a few function declarations within loops.

As for the function declarations within loops, please let me know if I should change them, I honestly didn't review the code to a full extent; therefore, I wouldn't know the best naming conventions for said anonymous functions.

Thanks!

Rastii avatar Jan 12 '15 22:01 Rastii