Skip to content

Commit

Permalink
k
Browse files Browse the repository at this point in the history
  • Loading branch information
douglascrockford committed Dec 8, 2010
1 parent 6735394 commit bdd3576
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions fullinit_ui.js
Expand Up @@ -54,6 +54,7 @@ ADSAFE.lib("init_ui", function (lib) {
}
jslintstring.value('/*jslint ' + a.join(', ') + ' */');
}

function update_options() {

// Make an object containing the current options.
Expand Down
1 change: 1 addition & 0 deletions fulljslint.html
Expand Up @@ -266,6 +266,7 @@
</div>
<a href="http://www.JSLint.com/"><img src="jslintpill.gif" width="36" height="17" border="0"></a>
<a href="http://tech.groups.yahoo.com/group/jslint_com/"><img src="y.gif" width="31" height="17" border="0"></a>
<a href="https://github.com/douglascrockford/JSLint"><img src="github.gif" width="39" height="16" border="0"></a>
<a href="http://www.ADsafe.org/"><img src="adsafepill.gif" width="36" height="17" border="0"></a>
<a href="http://www.JSON.org/"><img src="jsonpill.gif" width="36" height="17" border="0"></a>
<a href="http://www.1and1.com/?k_id=10219574"><img src="1and1pill.gif" width="36" height="17" border="0"></a>
Expand Down
6 changes: 3 additions & 3 deletions fulljslint.js
@@ -1,5 +1,5 @@
// jslint.js
// 2010-12-02
// 2010-12-08

/*
Copyright (c) 2002 Douglas Crockford (www.JSLint.com)
Expand Down Expand Up @@ -5419,7 +5419,7 @@ loop: for (;;) {
}
} else if (typeof a === 'object') {
k = Object.keys(a);
for (i = 0; i < a.length; i += 1) {
for (i = 0; i < k.length; i += 1) {
predefined[k[i]] = !!a[k];
}
}
Expand Down Expand Up @@ -5780,7 +5780,7 @@ loop: for (;;) {
};
itself.jslint = itself;

itself.edition = '2010-12-02';
itself.edition = '2010-12-08';

return itself;

Expand Down
6 changes: 3 additions & 3 deletions lint.html
Expand Up @@ -718,9 +718,9 @@ <h2 id=try>Try it</h2>
The <a href="http://www.amazon.com/exec/obidos/ASIN/0596517742/wrrrldwideweb"
target="_blank"><input type="button" value="Good Parts"></a> button in the
Options area will preset the best options for you.
<code>JSLint</code> is also available in a <a href="wsh/index.html">WSH Command Line</a> version.
<code>JSLint</code> is also available in a <a href="rhino/index.html">Rhino Command Line</a>
version.</p>
</p>
<p>
JSLint is written entirely in JavaScript, so it can run anywhere that JavaScript can run. See for example <a href="http://tech.groups.yahoo.com/group/jslint_com/database?method=reportRows&tbl=1">http://tech.groups.yahoo.com/group/jslint_com/database?method=reportRows&amp;tbl=1</a>.</p>
<h2 id=implementation>Implementation</h2>
<p><code>JSLint</code> uses a <a href="http://javascript.crockford.com/tdop/tdop.html">Pratt
Parser (Top Down Operator Precedence)</a>. It is written in JavaScript.
Expand Down

0 comments on commit bdd3576

Please sign in to comment.