mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 00:47:59 +01:00
Move events.(toString|fromString|iterKeys|canonicalKeys) to DOM.Event.
This commit is contained in:
@@ -132,7 +132,7 @@ var Editor = Module("editor", {
|
||||
if (count == null)
|
||||
count = 1;
|
||||
|
||||
let code = events.fromString(key)[0].charCode;
|
||||
let code = DOM.Event.parse(key)[0].charCode;
|
||||
util.assert(code);
|
||||
let char = String.fromCharCode(code);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user