1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 00:27:58 +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

@@ -393,7 +393,7 @@ var CommandMode = Class("CommandMode", {
this.onChange(commandline.command);
},
keyup: function CM_onKeyUp(event) {
let key = events.toString(event);
let key = DOM.Event.stringify(event);
if (/-?Tab>$/.test(key) && this.completions)
this.completions.tabTimer.flush();
}