Loading ...
Sorry, an error occurred while loading the content.

2630Re: [jslint] Re: JSLint errors wiki?

Expand Messages
  • Jordan Harband
    Sep 26, 2011
    • 0 Attachment
      Comments serve a purpose, trailing whitespace does not.

      If you avoid ASI by properly using semicolons, I doubt trailing whitespace will break your code, even with minification. However, it is still useless and unnecessary, and that should be regarded equally as repulsive as broken code.

      On Sep 26, 2011, at 9:01 AM, urangatang@... wrote:

      > The same could be said about comments.
      > Has anyone come across an error caused by spaces on a blank line in JavaScript?
      > --- In jslint_com@yahoogroups.com, Jordan Harband <ljharb@...> wrote:
      > >
      > > How are extra bytes in your file that serve no purpose and can easily be removed by most editors, pre-commit hooks, or a command line tool NOT a problem?

      [Non-text portions of this message have been removed]
    • Show all 18 messages in this topic