Skip to content

Commit

Permalink
chore: update to latest standard
Browse files Browse the repository at this point in the history
  • Loading branch information
finnp committed Feb 19, 2018
1 parent d77e102 commit 5735dcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ function lex (source) {
isSigned = false
// Parse the integer component.
for (; index < length && ((charCode = source.charCodeAt(index)), charCode >= 48 && charCode <= 57); index++);
// Floats cannot contain a leading decimal point; however, this
// case is already accounted for by the parser.
// Floats cannot contain a leading decimal point; however, this
// case is already accounted for by the parser.
if (source.charCodeAt(index) === 46) {
position = ++index
// Parse the decimal component.
Expand Down

0 comments on commit 5735dcc

Please sign in to comment.