1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 09:17:58 +01:00

Decruftify crufty old gunk, promisify stuff.

This commit is contained in:
Kris Maglione
2015-03-02 19:01:19 -08:00
parent 7b2f821e04
commit 29e614ab74
2 changed files with 78 additions and 98 deletions

View File

@@ -373,7 +373,7 @@ var Editor = Module("editor", XPCOM(Ci.nsIEditActionListener, ModuleBase), {
dactyl.assert(args.length >= 1, _("option.notSet", "editor"));
io.run(args.shift(), args, blocking);
return io.run(args.shift(), args, blocking);
},
// TODO: clean up with 2 functions for textboxes and currentEditor?