Enforce space before code block

This commit is contained in:
Pierre Ossman
2018-09-06 17:29:26 +02:00
parent 0ae5c54ab3
commit 3f1cda2e37
4 changed files with 7 additions and 6 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ import DOMKeyTable from "./domkeytable.js";
import * as browser from "../util/browser.js";
// Get 'KeyboardEvent.code', handling legacy browsers
export function getKeycode(evt){
export function getKeycode(evt) {
// Are we getting proper key identifiers?
// (unfortunately Firefox and Chrome are crappy here and gives
// us an empty string on some platforms, rather than leaving it
@@ -125,7 +125,7 @@ export function getKey(evt) {
}
// Get the most reliable keysym value we can get from a key event
export function getKeysym(evt){
export function getKeysym(evt) {
const key = getKey(evt);
if (key === 'Unidentified') {