Skip to content

Commit

Permalink
whitespace and semicolons to satiate jshint
Browse files Browse the repository at this point in the history
  • Loading branch information
SheetJSDev committed Mar 29, 2014
1 parent af23ae8 commit 95b3383
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions ssf.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,12 +455,10 @@ function choose_fmt(fmt, v, o) {
case "<=": if(v <= thresh) found = true; break;
}
return found ? out : null;
}
};
var m1 = fmt[0].match(/\[([=<>]*)([-]?\d+)\]/);
var m2 = fmt[1].match(/\[([=<>]*)([-]?\d+)\]/);
return chk(v, m1, [l, fmt[0]])
|| chk(v, m2, [l, fmt[1]])
|| [l, fmt[m1&&m2?2:1]];
return chk(v, m1, [l, fmt[0]]) || chk(v, m2, [l, fmt[1]]) || [l, fmt[m1&&m2?2:1]];
}
return [l, ff];
}
Expand Down
6 changes: 2 additions & 4 deletions ssf.md
Original file line number Diff line number Diff line change
Expand Up @@ -937,12 +937,10 @@ Here we have to scan for conditions:
case "<=": if(v <= thresh) found = true; break;
}
return found ? out : null;
}
};
var m1 = fmt[0].match(/\[([=<>]*)([-]?\d+)\]/);
var m2 = fmt[1].match(/\[([=<>]*)([-]?\d+)\]/);
return chk(v, m1, [l, fmt[0]])
|| chk(v, m2, [l, fmt[1]])
|| [l, fmt[m1&&m2?2:1]];
return chk(v, m1, [l, fmt[0]]) || chk(v, m2, [l, fmt[1]]) || [l, fmt[m1&&m2?2:1]];
}
return [l, ff];
}
Expand Down

0 comments on commit 95b3383

Please sign in to comment.