Permalink
Browse files

W

  • Loading branch information...
1 parent c4a0972 commit 1d63dc715c71a59d690d43bc90c099c8c805a876 @douglascrockford committed Jul 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 jslint.js
View
@@ -944,7 +944,7 @@ var JSLINT = (function () {
// sync
syx = /Sync$/,
// comment todo
- tox = /^\s*to\s*do(?:\W|$)/i,
+ tox = /^\W*to\s*do(?:\W|$)/i,
// token
tx = /^\s*([(){}\[\]\?.,:;'"~#@`]|={1,3}|\/(\*(jslint|properties|property|members?|globals?)?|=|\/)?|\*[\/=]?|\+(?:=|\++)?|-(?:=|-+)?|[\^%]=?|&[&=]?|\|[|=]?|>{1,3}=?|<(?:[\/=!]|\!(\[|--)?|<=?)?|\!={0,2}|[a-zA-Z_$][a-zA-Z0-9_$]*|[0-9]+(?:[xX][0-9a-fA-F]+|\.[0-9]*)?(?:[eE][+\-]?[0-9]+)?)/,
// url badness

0 comments on commit 1d63dc7

Please sign in to comment.