1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 08:37:59 +01:00

Support Firefox 45 (without e10s).

This commit is contained in:
Kris Maglione
2015-12-19 20:09:04 -08:00
parent e3c3748511
commit bc9eb79fb3
41 changed files with 614 additions and 421 deletions

View File

@@ -75,7 +75,7 @@ var Editor = Module("editor", XPCOM(Ci.nsIEditActionListener, ModuleBase), {
name = 0;
if (name == "_")
var res = null;
else if (hasOwnProperty(this.selectionRegisters, name))
else if (hasOwnProp(this.selectionRegisters, name))
res = { text: dactyl.clipboardRead(this.selectionRegisters[name]) || "" };
else if (!/^[0-9]$/.test(name))
res = this.registers.get(name);
@@ -113,7 +113,7 @@ var Editor = Module("editor", XPCOM(Ci.nsIEditActionListener, ModuleBase), {
n = 0;
if (n == "_")
;
else if (hasOwnProperty(this.selectionRegisters, n))
else if (hasOwnProp(this.selectionRegisters, n))
dactyl.clipboardWrite(value.text, verbose, this.selectionRegisters[n]);
else if (!/^[0-9]$/.test(n))
this.registers.set(n, value);