Skip to content

Commit

Permalink
Clean up minor jshint warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Sanford committed Mar 30, 2016
1 parent 79f832d commit 3b56aea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/scan-codes.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ codes.getBreakCode = function(key) {
breakCode;
if (makeCode === undefined) {
throw new Error('Undefined key: ' + key);
return;
}

if (key === 'PAUSE') {
Expand All @@ -139,7 +138,7 @@ codes.getBreakCode = function(key) {
} else {
return [ makeCode[0] + 0x80 ];
}
}
};

module.exports = codes;

Expand Down

0 comments on commit 3b56aea

Please sign in to comment.