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

Fix brokenness.

This commit is contained in:
Kris Maglione
2015-02-25 10:35:08 -08:00
parent 1b21d04f68
commit d1937f708c
2 changed files with 6 additions and 4 deletions

View File

@@ -959,7 +959,7 @@ var CommandLine = Module("commandline", {
this.savingOutput = true;
apply(dactyl, "trapErrors", [fn, self].concat(args));
this.savingOutput = false;
return output.map(elem => elem instanceof Node ? DOM.stringify(elem) : elem)
return output.map(elem => elem instanceof Ci.nsIDOMNode ? DOM.stringify(elem) : elem)
.join("\n");
}
}, {