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

Re: [jslint] problem with 'with'

Expand Messages
  • fdg001@gmx.net
    ... Strict mode eliminates `with`: http://www.yuiblog.com/blog/2010/12/14/strict-mode-is-coming-to-town/ -- F.
    Message 1 of 4 , Jul 15, 2011
      > Expected an identifier and instead saw 'with'.

      Strict mode eliminates `with`:
      http://www.yuiblog.com/blog/2010/12/14/strict-mode-is-coming-to-town/


      -- F.
    • Jérôme DESPATIS
      Ok thanks, I change my code ... -- Jérôme Despatis jerome@despatis.com [Non-text portions of this message have been removed]
      Message 2 of 4 , Jul 15, 2011
        Ok thanks, I change my code

        Le 15/07/2011 10:43, fdg001@... a écrit :
        >
        > > Expected an identifier and instead saw 'with'.
        >
        > Strict mode eliminates `with`:
        > http://www.yuiblog.com/blog/2010/12/14/strict-mode-is-coming-to-town/
        >
        > -- F.
        >
        >


        --
        Jérôme Despatis
        jerome@...



        [Non-text portions of this message have been removed]
      • Douglas Crockford
        ... You can read the instructions: http://www.jslint.com/lint.html#with
        Message 3 of 4 , Jul 15, 2011
          --- In jslint_com@yahoogroups.com, Jérôme DESPATIS <jerome@...> wrote:
          >
          > Here is a little script where JSLint throws an error, it's valid js for me:
          >
          > Problem at line 4 character 5: Expected an identifier and instead saw
          > 'with'.
          >
          > with (inRow) {


          You can read the instructions: http://www.jslint.com/lint.html#with
        Your message has been successfully submitted and would be delivered to recipients shortly.