Permalink
Browse files

k

  • Loading branch information...
1 parent 6735394 commit bdd357672d5d3f670e01dc451168ef107bf8f3f7 @douglascrockford committed Dec 8, 2010
Showing with 8 additions and 6 deletions.
  1. +1 −0 fullinit_ui.js
  2. +1 −0 fulljslint.html
  3. +3 −3 fulljslint.js
  4. +3 −3 lint.html
View
@@ -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.
View
@@ -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>
View
@@ -1,5 +1,5 @@
// jslint.js
-// 2010-12-02
+// 2010-12-08
/*
Copyright (c) 2002 Douglas Crockford (www.JSLint.com)
@@ -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];
}
}
@@ -5780,7 +5780,7 @@ loop: for (;;) {
};
itself.jslint = itself;
- itself.edition = '2010-12-02';
+ itself.edition = '2010-12-08';
return itself;
View
@@ -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.

0 comments on commit bdd3576

Please sign in to comment.