Skip to content

Commit

Permalink
linter insists on single quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
mengwong committed Mar 5, 2023
1 parent 4efdf40 commit 2f7a0c6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/plugins/impressConsole/impressConsole.js
Original file line number Diff line number Diff line change
Expand Up @@ -451,16 +451,16 @@

// Keyboard navigation handlers
// 33: pg up, 37: left, 38: up
registerKeyEvent( [ "PageUp", "ArrowLeft", "ArrowUp" ], window.impress().prev );
registerKeyEvent( [ 'PageUp', 'ArrowLeft', 'ArrowUp' ], window.impress().prev );

// 34: pg down, 39: right, 40: down
registerKeyEvent( [ "PageDown", "ArrowRight", "ArrowDown" ], window.impress().next );
registerKeyEvent( [ 'PageDown', 'ArrowRight', 'ArrowDown' ], window.impress().next );

// 32: space
registerKeyEvent( [ "Space" ], spaceHandler );
registerKeyEvent( [ 'Space' ], spaceHandler );

// 82: R
registerKeyEvent( [ "KeyR" ], timerReset );
registerKeyEvent( [ 'KeyR' ], timerReset );

// Cleanup
consoleWindow.onbeforeunload = function() {
Expand Down Expand Up @@ -565,7 +565,7 @@
};

//Open speaker console when they press 'p'
registerKeyEvent( [ "KeyP" ], open, window );
registerKeyEvent( [ 'KeyP' ], open, window );

//Btw, you can also launch console automatically:
//<div id="impress" data-console-autolaunch="true">
Expand Down

0 comments on commit 2f7a0c6

Please sign in to comment.