From 8354774fcf3f4b6d61b545aebe09f00ea63724a0 Mon Sep 17 00:00:00 2001 From: SillyInventor Date: Thu, 9 Feb 2017 14:09:01 -0500 Subject: [PATCH] Switch from return null to return empty string in keyCodeToScratchKey --- src/io/keyboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io/keyboard.js b/src/io/keyboard.js index da0e41625..c7a210803 100644 --- a/src/io/keyboard.js +++ b/src/io/keyboard.js @@ -56,7 +56,7 @@ Keyboard.prototype._keyCodeToScratchKey = function (keyCode) { case 39: return 'right arrow'; case 40: return 'down arrow'; } - return null; + return ''; }; /**