1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-23 15:55:47 +01:00

Enable the new ItemList. Add tentative new c_<C-f>/c_<PageDown>, c_<C-b>/c_<PageUp>, c_<C-Tab>, and c_<C-S-Tab> mappings.

This commit is contained in:
Kris Maglione
2011-10-03 00:24:18 -04:00
parent 32a3d45a7c
commit 0a5f0190c3
4 changed files with 181 additions and 84 deletions

View File

@@ -474,7 +474,7 @@ var DOM = Class("DOM", {
*/
get xpath() {
function quote(val) "'" + val.replace(/[\\']/g, "\\$&") + "'";
if (!this[0] instanceof Ci.nsIDOMElement)
if (!(this[0] instanceof Ci.nsIDOMElement))
return null;
let res = [];
@@ -1218,7 +1218,8 @@ var DOM = Class("DOM", {
"contextmenu",
Key: "keydown keypress keyup",
"": "change command dactyl-input input submit " +
"load unload pageshow pagehide DOMContentLoaded"
"load unload pageshow pagehide DOMContentLoaded " +
"resize scroll"
}
).map(function ([k, v]) v.split(" ").map(function (v) [v, k]))
.flatten()