Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

WSH

  • Loading branch information...
commit 396d71f631958664af59189fb43359e3eb264ecc 1 parent d0f8538
Douglas Crockford authored

Showing 2 changed files with 6 additions and 6 deletions. Show diff stats Hide diff stats

  1. +4 4 jslint.js
  2. +2 2 lint.html
8 jslint.js
... ... @@ -1,5 +1,5 @@
1 1 // jslint.js
2   -// 2011-08-06
  2 +// 2011-08-14
3 3
4 4 // Copyright (c) 2002 Douglas Crockford (www.JSLint.com)
5 5
@@ -742,7 +742,7 @@ var JSLINT = (function () {
742 742 },
743 743
744 744 devel = array_to_object([
745   - 'alert', 'confirm', 'console', 'Debug', 'opera', 'prompt'
  745 + 'alert', 'confirm', 'console', 'Debug', 'opera', 'prompt', 'WSH'
746 746 ], false),
747 747 directive,
748 748 escapes = {
@@ -1102,7 +1102,7 @@ var JSLINT = (function () {
1102 1102
1103 1103 windows = array_to_object([
1104 1104 'ActiveXObject', 'CScript', 'Debug', 'Enumerator', 'System',
1105   - 'VBArray', 'WScript'
  1105 + 'VBArray', 'WScript', 'WSH'
1106 1106 ], false),
1107 1107
1108 1108 // xmode is used to adapt to the exceptions in html parsing.
@@ -6925,7 +6925,7 @@ klass: do {
6925 6925 };
6926 6926 itself.jslint = itself;
6927 6927
6928   - itself.edition = '2011-08-06';
  6928 + itself.edition = '2011-08-14';
6929 6929
6930 6930 return itself;
6931 6931
4 lint.html
@@ -143,7 +143,7 @@ <h2 id=global>Global Variables</h2>
143 143 <em>Assume console, alert, ...</em>
144 144 (<code>devel</code>) <a href="#options">option</a> to predefine globals that are useful in development but that should be avoided in production, such as <code>console</code> and <code>alert</code>. It has the same
145 145 effect as this comment:</p>
146   -<pre>/*global alert: false, confirm: false, console: false, Debug: false, opera: false, prompt: false */</pre>
  146 +<pre>/*global alert: false, confirm: false, console: false, Debug: false, opera: false, prompt: false, WSH: false */</pre>
147 147 <p id=node>Select the
148 148 <em>Assume Node.js</em>
149 149 (<code>node</code>) <a href="#options">option</a> to predefine globals that are used in the Node.js environment<code></code>. It has the same
@@ -164,7 +164,7 @@ <h2 id=global>Global Variables</h2>
164 164 <p id=windows>Select the <i>Assume Windows</i> (<code>windows</code>)
165 165 <a href="#options">option</a> to predefine the global properties provided by Microsoft Windows. It has the same effect as this statement:</p>
166 166 <blockquote>
167   - <p><code>/*global ActiveXObject: false, CScript: false, Debug: false, Enumerator: false, System: false, VBArray: false, WScript: false */</code></p>
  167 + <p><code>/*global ActiveXObject: false, CScript: false, Debug: false, Enumerator: false, System: false, VBArray: false, WScript: false, WSH: false */</code></p>
168 168 </blockquote>
169 169 <h2 id=semicolon>Semicolon</h2>
170 170 <p>JavaScript uses a C-like syntax which requires the use of semicolons to delimit certain

0 comments on commit 396d71f

Please sign in to comment.
Something went wrong with that request. Please try again.