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:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user