From 3db5083b4aa757a3a94b1bf4d978c846f0235266 Mon Sep 17 00:00:00 2001 From: Niole Nelson Date: Tue, 7 Jul 2015 17:04:48 -0400 Subject: [PATCH] updated keyboard.js to throw errors instead of strints: #145 --- notebook/static/base/js/keyboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebook/static/base/js/keyboard.js b/notebook/static/base/js/keyboard.js index 721ee69f9..1ac50ad31 100644 --- a/notebook/static/base/js/keyboard.js +++ b/notebook/static/base/js/keyboard.js @@ -396,7 +396,7 @@ define([ this.events.trigger('rebuild.QuickHelp'); } } catch (ex) { - throw new Error('trying to remove a non-exist shortcut', shortcut); + throw new Error('trying to remove a non-existent shortcut', shortcut); } };