]> git.proxmox.com Git - mirror_novnc.git/blobdiff - utils/genkeysymdef.js
Use fat arrow functions `const foo = () => { ... };` for callbacks
[mirror_novnc.git] / utils / genkeysymdef.js
index 9d09775d6e7ae5c10bd59215b757bcf53e66f015..cd89a68396eea7c84096ffeab31ad134fb53e25c 100755 (executable)
@@ -108,7 +108,7 @@ out +=
 "};\n" +
 "\n" +
 "export default {\n" +
-"    lookup : function(u) {\n" +
+"    lookup(u) {\n" +
 "        // Latin-1 is one-to-one mapping\n" +
 "        if ((u >= 0x20) && (u <= 0xff)) {\n" +
 "            return u;\n" +