tweak modes
This commit is contained in:
parent
5744a3c6e3
commit
0eff326d62
5 changed files with 12 additions and 12 deletions
|
|
@ -1979,7 +1979,7 @@ var JSHINT = (function () {
|
|||
|
||||
function doOption() {
|
||||
var nt = state.tokens.next;
|
||||
var body = nt.body.match(/(-\s+)?[^\s,:]+(?:\s*:\s*(-\s+)?[^\s,]+)?/g);
|
||||
var body = nt.body.match(/(-\s+)?[^\s,:]+(?:\s*:\s*(-\s+)?[^\s,]+)?/g) || [];
|
||||
var predef = {};
|
||||
|
||||
if (nt.type === "globals") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue