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

More pointification and general code cleanup. Also massive, crazy, conflict-ridden merge.

This commit is contained in:
Kris Maglione
2013-09-21 14:13:07 -07:00
parent 2d90804d5f
commit 25aae2cc99
44 changed files with 350 additions and 230 deletions

View File

@@ -126,7 +126,8 @@ var Services = Module("Services", {
if (!service.interfaces.length)
return res.wrappedJSObject || res;
service.interfaces.forEach(iface => res instanceof Ci[iface]);
service.interfaces.forEach(iface => { res instanceof Ci[iface]; });
if (service.init && args.length) {
if (service.callable)
res[service.init].apply(res, args);