From 5568e1a79c7c7e99a842c36e4a23095d65bbf5a4 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 9 Oct 2012 13:54:05 -0400 Subject: [PATCH] Move hotkey.js jslint globals into check-all.js. (imported from commit ec737e658e9f2251025e493abb92e4cf2a7aab72) --- tools/jslint/check-all.js | 1 + zephyr/static/js/hotkey.js | 9 --------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/tools/jslint/check-all.js b/tools/jslint/check-all.js index 9401251ee4..54902325ab 100644 --- a/tools/jslint/check-all.js +++ b/tools/jslint/check-all.js @@ -18,6 +18,7 @@ var globals = + ' get_id get_zephyr_row' // hotkey.js + + ' process_goto_hotkey process_compose_hotkey process_key_in_input' // narrow.js + ' narrowed show_all_messages' diff --git a/zephyr/static/js/hotkey.js b/zephyr/static/js/hotkey.js index fde6305483..a5ad8d53a1 100644 --- a/zephyr/static/js/hotkey.js +++ b/zephyr/static/js/hotkey.js @@ -1,12 +1,3 @@ -/*global - process_goto_hotkey: false, - process_compose_hotkey: false, - process_key_in_input: false */ - -// We don't generally treat these as global. -// Tell JSLint they are, to break the mutual recursion. - - var pressed_keys = {}; function num_pressed_keys() {