1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-16 20:55:45 +01:00

Allow <Uxxxx> key names.

--HG--
extra : rebase_source : 659bc3b0faab56e52c584e514411fa7cacd8af77
This commit is contained in:
Kris Maglione
2010-11-03 03:35:31 -04:00
parent 5bba002dfb
commit 1caf0d1f45
4 changed files with 35 additions and 23 deletions

View File

@@ -73,8 +73,7 @@ const Services = Module("Services", {
let res = Cc[classes][meth || "getService"]();
if (!ifaces)
return res.wrappedJSObject;
ifaces = Array.concat(ifaces);
ifaces.forEach(function (iface) res.QueryInterface(iface));
Array.concat(ifaces).forEach(function (iface) res.QueryInterface(iface));
return res;
}
catch (e) {