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

Re: Final backslash to wrap strings seems unsupported by JSLint

Expand Messages
  • bluflonalgul
    ... Well... I haven t seen any piece of advice about how to write long strings. I ve tried different syntaxes and each has its own drawbacks and is prone to
    Message 1 of 3 , Feb 19, 2011
    • 0 Attachment
      --- In jslint_com@yahoogroups.com, "Douglas Crockford" <douglas@...> wrote:
      >
      >
      > I think you should take JSLint's advice and avoid error-prone forms.
      >

      Well... I haven't seen any piece of advice about how to write long strings.
      I've tried different syntaxes and each has its own drawbacks and is prone to errors.
      The final backslash seems a bit less error-prone than the others, but maybe you have a suggestion about that ?
    Your message has been successfully submitted and would be delivered to recipients shortly.