Skip to content

Commit 17a18a9

Browse files
committed
Wrap the regex in parens to make jsLint love me again
1 parent fe10f0c commit 17a18a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlite.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function SQLite(cfg) {
1414
case 'number':
1515
return true;
1616
case 'string':
17-
return /^\d+$/.test(val);
17+
return (/^\d+$/).test(val);
1818
case 'object':
1919
return false;
2020
}

0 commit comments

Comments
 (0)