Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

get rid of fallthrough

  • Loading branch information...
commit 08764d7025cbbc93b856825aafb5d3d77cca4b77 1 parent 759fe63
@chjj chjj authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/json.js
View
3  lib/json.js
@@ -203,7 +203,8 @@ Parser.prototype._parse = function(data) {
|| !/\d$/.test(this.value)) {
return this._unexpected(ch);
}
- ; // FALL-THROUGH
+ this.value += ch;
+ break;
case '0':
case '1':
case '2':
Please sign in to comment.
Something went wrong with that request. Please try again.