1
0
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:
Kris Maglione
2011-09-10 15:18:20 -04:00
parent f9d5b12757
commit 68d8bf74df
13 changed files with 374 additions and 446 deletions

View File

@@ -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);