Fixed the issues for all the javascript files reported by the liner.

This commit is contained in:
Ashesh Vashi
2018-04-30 17:51:57 +05:30
parent 31e73f4096
commit c94439bf8e
13 changed files with 131 additions and 132 deletions

View File

@@ -10,18 +10,18 @@
import keyboardShortcuts from 'sources/keyboard_shortcuts';
describe('the keyboard shortcuts', () => {
const F1_KEY = 112,
EDIT_KEY = 71, // Key: G -> Grid values
LEFT_ARROW_KEY = 37,
RIGHT_ARROW_KEY = 39,
MOVE_NEXT = 'right';
const F1_KEY = 112;
// const EDIT_KEY = 71; // Key: G -> Grid values
// const LEFT_ARROW_KEY = 37;
// const RIGHT_ARROW_KEY = 39;
// const MOVE_NEXT = 'right';
let debuggerElementSpy, event, debuggerUserShortcutSpy;
debuggerUserShortcutSpy = jasmine.createSpyObj(
'userDefinedShortcuts', [
{ 'edit_grid_keys': null },
{ 'next_panel_keys': null },
{ 'previous_panel_keys': null }
{ 'previous_panel_keys': null },
]
);
beforeEach(() => {