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

Support Firefox 45 (without e10s).

This commit is contained in:
Kris Maglione
2015-12-19 20:09:04 -08:00
parent e3c3748511
commit bc9eb79fb3
41 changed files with 614 additions and 421 deletions

View File

@@ -194,14 +194,14 @@ var Services = Module("Services", {
*
* @param {string} name The class's cache key.
*/
create: deprecated("services.*name*()", function create(name) this[util.capitalize(name)]()),
create: deprecated("services.*name*()", function create(name) { return this[util.capitalize(name)](); }),
/**
* Returns the cached service with the specified name.
*
* @param {string} name The service's cache key.
*/
get: deprecated("services.*name*", function get(name) this[name]),
get: deprecated("services.*name*", function get(name) { return this[name]; }),
/**
* Returns true if the given service is available.
@@ -209,7 +209,7 @@ var Services = Module("Services", {
* @param {string} name The service's cache key.
*/
has: function has(name) {
return hasOwnProperty(this.services, name) &&
return hasOwnProp(this.services, name) &&
this.services[name].class in Cc &&
this.services[name].interfaces.every(iface => iface in Ci);
}