Skip to content

Commit

Permalink
/*jslint white: true */
Browse files Browse the repository at this point in the history
  • Loading branch information
douglascrockford committed Feb 5, 2011
1 parent 31c18fc commit b04d455
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions fulljslint.js
@@ -1,5 +1,5 @@
// jslint.js
// 2011-02-03
// 2011-02-04

/*
Copyright (c) 2002 Douglas Crockford (www.JSLint.com)
Expand Down Expand Up @@ -1406,7 +1406,7 @@ var JSLINT = (function () {
}

function expected_at(at) {
if (nexttoken.from !== at) {
if (option.white && nexttoken.from !== at) {
warning(bundle.expected_a_at_b_c, nexttoken, nexttoken.value, at,
nexttoken.from);
}
Expand Down Expand Up @@ -2390,7 +2390,7 @@ loop: for (;;) {
return t;
}


function advance(id, t) {

// Produce the next token, also looking for programming errors.
Expand Down Expand Up @@ -2503,7 +2503,7 @@ loop: for (;;) {

function step_in(mode) {
var open, was;
if (option.white && option.indent) {
if (option.indent) {
if (typeof mode === 'number') {
indent = {
at: mode,
Expand Down Expand Up @@ -3399,15 +3399,15 @@ loop: for (;;) {
that.third = expression(10);
return that;
});

infix('||', 40, function (left, that) {
function paren_check(that) {
if (that.id === '&&' && !that.paren) {
warning(bundle.and, that);
}
return that;
}

that.first = paren_check(expected_relation(left));
that.second = paren_check(expected_relation(expression(40)));
return that;
Expand Down Expand Up @@ -6249,7 +6249,7 @@ loop: for (;;) {
};
itself.jslint = itself;

itself.edition = '2011-02-03';
itself.edition = '2011-02-04';

return itself;

Expand Down

0 comments on commit b04d455

Please sign in to comment.