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

Re: DEFECT: Stream comment Fails to ignore mixed spaces and tabs in V. 2011-03-27

Expand Messages
  • Douglas Crockford
    ... JSLint allows tabs. It even allows the mixing of tabs and spaces, which is a bad practice. Where it draws the line is when it sees a space immediately
    Message 1 of 3 , Mar 31, 2011
    • 0 Attachment
      --- In jslint_com@yahoogroups.com, "abyssoft@..." <abyssoft@...> wrote:
      >
      > Works Correctly
      > // I'm a Block Comment that has a tab
      >
      > Has Defect
      > /*
      > I'm a stream comment that has a tab
      > */

      JSLint allows tabs. It even allows the mixing of tabs and spaces, which is a bad practice. Where it draws the line is when it sees a space immediately followed by a tab.
    • abyssoft@ymail.com
      Thank you for the clarification.
      Message 2 of 3 , Apr 1, 2011
      • 0 Attachment
        Thank you for the clarification.
      Your message has been successfully submitted and would be delivered to recipients shortly.