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

2537Re: [jslint] double underscores

Expand Messages
  • Martin Cooper
    Aug 3, 2011
      On Wed, Aug 3, 2011 at 12:09 PM, Mark Volkmann
      <r.mark.volkmann@...> wrote:
      > I'm trying to use JSLint to check code that uses the Express module of Node.js.
      > It uses the variable __dirname.
      > Is there an option for JSLint that would allow that? nomen seems to
      > only ignore one leading underscore.

      Try "node: true" instead (which is "Assume Node.js" on the web site).

      --
      Martin Cooper


      > --
      > R. Mark Volkmann
      > Object Computing, Inc.
      >
      >
      > ------------------------------------
      >
      > Yahoo! Groups Links
      >
      >
      >
      >
    • Show all 6 messages in this topic