mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-09 04:54:10 +01:00
Cleanup crufty apply code.
This commit is contained in:
@@ -130,7 +130,7 @@ var Services = Module("Services", {
|
||||
|
||||
if (service.init && args.length) {
|
||||
if (service.callable)
|
||||
res[service.init].apply(res, args);
|
||||
apply(res, service.init, args);
|
||||
else
|
||||
res[service.init] = args[0];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user