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

Rhino and /*jslint options block*/

Expand Messages
  • William Chapman
    Jslint group, After long use of jslint as a web application, I just began using it with Rhino, which is apparently ignoring my /*jslint option1 option2 ...*/
    Message 1 of 3 , Jun 7, 2009
    • 0 Attachment
      Jslint group,

      After long use of jslint as a web application, I just began using it with
      Rhino, which is apparently ignoring my /*jslint option1 option2 ...*/
      options block, shown here (typical):

      /*jslint
      white: true,
      browser: true,
      undef: true,
      eqeqeq: true,
      newcap: true */

      I am using:
      (a) jslint.js from the JSLint and
      Rhino<http://www.jslint.com/rhino/index.html>page;
      (b) Rhino (1.7R1-2) freshly installed on Ubuntu 9-04; and
      (c) Sun Java6 (6-13-1).

      My command line is: wjc@hoss:~/blah$ rhino jslint.js mypath/myjsfile.js

      What's up with this?

      Thanks in advance,
      -- jedahbill


      [Non-text portions of this message have been removed]
    • christian.wirkus
      Maybe you got the wrong Javascript file. Try this: http://www.jslint.com/rhino/jslint.js java -jar path_to_rhino/js.jar http://www.jslint.com/rhino/jslint.js
      Message 2 of 3 , Jun 8, 2009
      • 0 Attachment
        Maybe you got the wrong Javascript file.
        Try this: http://www.jslint.com/rhino/jslint.js

        java -jar path_to_rhino/js.jar http://www.jslint.com/rhino/jslint.js yourjs.js


        --- In jslint_com@yahoogroups.com, William Chapman <jeddahbill@...> wrote:
        >
        > Jslint group,
        >
        > After long use of jslint as a web application, I just began using it with
        > Rhino, which is apparently ignoring my /*jslint option1 option2 ...*/
        > options block, shown here (typical):
        >
        > /*jslint
        > white: true,
        > browser: true,
        > undef: true,
        > eqeqeq: true,
        > newcap: true */
        >
        > I am using:
        > (a) jslint.js from the JSLint and
        > Rhino<http://www.jslint.com/rhino/index.html>page;
        > (b) Rhino (1.7R1-2) freshly installed on Ubuntu 9-04; and
        > (c) Sun Java6 (6-13-1).
        >
        > My command line is: wjc@hoss:~/blah$ rhino jslint.js mypath/myjsfile.js
        >
        > What's up with this?
        >
        > Thanks in advance,
        > -- jedahbill
        >
        >
        > [Non-text portions of this message have been removed]
        >
      • jeddahbill
        ... Christian, The url/location/resource you provided is identical to the url provided (in two places) on the page I referenced. So, that is the file I m
        Message 3 of 3 , Jun 8, 2009
        • 0 Attachment
          --- In jslint_com@yahoogroups.com, "christian.wirkus" <christian.wirkus@...> wrote:
          >
          > Maybe you got the wrong Javascript file.
          > Try this: http://www.jslint.com/rhino/jslint.js
          >
          > java -jar path_to_rhino/js.jar http://www.jslint.com/rhino/jslint.js yourjs.js
          >
          >
          > --- In jslint_com@yahoogroups.com, William Chapman <jeddahbill@> wrote:
          > >
          > > Jslint group,
          > >
          > > After long use of jslint as a web application, I just began using it with
          > > Rhino, which is apparently ignoring my /*jslint option1 option2 ...*/
          > > options block, shown here (typical):
          > >
          > > /*jslint
          > > white: true,
          > > browser: true,
          > > undef: true,
          > > eqeqeq: true,
          > > newcap: true */
          > >
          > > I am using:
          > > (a) jslint.js from the JSLint and
          > > Rhino<http://www.jslint.com/rhino/index.html>page;
          > > (b) Rhino (1.7R1-2) freshly installed on Ubuntu 9-04; and
          > > (c) Sun Java6 (6-13-1).
          > >
          > > My command line is: wjc@hoss:~/blah$ rhino jslint.js mypath/myjsfile.js
          > >
          > > What's up with this?
          > >
          > > Thanks in advance,
          > > -- jedahbill
          > >
          > >
          > > [Non-text portions of this message have been removed]
          > >
          >

          Christian,

          The url/location/resource you provided is identical to the url provided (in two places) on the page I referenced. So, that is the file I'm using.

          Puzzled,
          -- jeddahbill
        Your message has been successfully submitted and would be delivered to recipients shortly.