mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-07 23:24:12 +01:00
Fix services initialization bug.
This commit is contained in:
@@ -148,7 +148,7 @@ var Services = Module("Services", {
|
||||
addClass: function (name, class_, ifaces, init) {
|
||||
const self = this;
|
||||
this[name] = function () self._create(class_, ifaces, "createInstance", init, arguments);
|
||||
update.apply(null, [this[name]].concat([Ci[i] for each (i in ifaces)]));
|
||||
update.apply(null, [this[name]].concat([Ci[i] for each (i in Array.concat(ifaces))]));
|
||||
return this[name];
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user