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

Re: Curly Braces on own line is now valid. Is this change permanent?

Expand Messages
  • urangatang@att.net
    ... I m a little confused because I think K&R style should have functions braced distinctly from statements, but JSLint does not allow this with the strict
    Message 1 of 3 , Feb 3, 2011
    • 0 Attachment
      --- In jslint_com@yahoogroups.com, "Douglas Crockford" <douglas@...> wrote:
      > If you are smart, you will transition to a K&R style.

      I'm a little confused because I think K&R style should have functions braced distinctly from statements, but JSLint does not allow this with the strict whitespace option turned on.
    Your message has been successfully submitted and would be delivered to recipients shortly.