Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

WSH

  • Loading branch information...
commit 396d71f631958664af59189fb43359e3eb264ecc 1 parent d0f8538
@douglascrockford authored
Showing with 6 additions and 6 deletions.
  1. +4 −4 jslint.js
  2. +2 −2 lint.html
View
8 jslint.js
@@ -1,5 +1,5 @@
// jslint.js
-// 2011-08-06
+// 2011-08-14
// Copyright (c) 2002 Douglas Crockford (www.JSLint.com)
@@ -742,7 +742,7 @@ var JSLINT = (function () {
},
devel = array_to_object([
- 'alert', 'confirm', 'console', 'Debug', 'opera', 'prompt'
+ 'alert', 'confirm', 'console', 'Debug', 'opera', 'prompt', 'WSH'
], false),
directive,
escapes = {
@@ -1102,7 +1102,7 @@ var JSLINT = (function () {
windows = array_to_object([
'ActiveXObject', 'CScript', 'Debug', 'Enumerator', 'System',
- 'VBArray', 'WScript'
+ 'VBArray', 'WScript', 'WSH'
], false),
// xmode is used to adapt to the exceptions in html parsing.
@@ -6925,7 +6925,7 @@ klass: do {
};
itself.jslint = itself;
- itself.edition = '2011-08-06';
+ itself.edition = '2011-08-14';
return itself;
View
4 lint.html
@@ -143,7 +143,7 @@ <h2 id=global>Global Variables</h2>
<em>Assume console, alert, ...</em>
(<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
effect as this comment:</p>
-<pre>/*global alert: false, confirm: false, console: false, Debug: false, opera: false, prompt: false */</pre>
+<pre>/*global alert: false, confirm: false, console: false, Debug: false, opera: false, prompt: false, WSH: false */</pre>
<p id=node>Select the
<em>Assume Node.js</em>
(<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>
<p id=windows>Select the <i>Assume Windows</i> (<code>windows</code>)
<a href="#options">option</a> to predefine the global properties provided by Microsoft Windows. It has the same effect as this statement:</p>
<blockquote>
- <p><code>/*global ActiveXObject: false, CScript: false, Debug: false, Enumerator: false, System: false, VBArray: false, WScript: false */</code></p>
+ <p><code>/*global ActiveXObject: false, CScript: false, Debug: false, Enumerator: false, System: false, VBArray: false, WScript: false, WSH: false */</code></p>
</blockquote>
<h2 id=semicolon>Semicolon</h2>
<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.