Skip to content

Commit

Permalink
small touchups
Browse files Browse the repository at this point in the history
Added parens because I don't know precedence of & vs >>> and added a missing semicolon.
  • Loading branch information
slugrustle committed Apr 15, 2018
1 parent af0ddf6 commit 0fbb602
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion eslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"no-shadow-restricted-names": "error",
"no-undef-init": "error",
"no-use-before-define": "error",
"no-extra-parens": "error",
"block-scoped-var": "error",
"class-methods-use-this": "error",
"no-alert": "error",
Expand Down
4 changes: 2 additions & 2 deletions voltage_divider.html
Original file line number Diff line number Diff line change
Expand Up @@ -1396,10 +1396,10 @@
if (codeNext >= 0xDC00 && codeNext <= 0xDFFF) {
// We have a surrogate pair
code32 = ((charCode - 0xD800) << 10) + (codeNext - 0xDC00) + 0x10000;
outArray[k] = 0xF0 | (0x07 & code32 >>> 18);
outArray[k] = 0xF0 | (0x07 & (code32 >>> 18));
k++;
outArray[k] = 0x80 | (0x3F & (code32 >>> 12));
k++
k++;
outArray[k] = 0x80 | (0x3F & (code32 >>> 6));
k++;
outArray[k] = 0x80 | (0x3F & code32);
Expand Down

0 comments on commit 0fbb602

Please sign in to comment.