mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 09:27:58 +01:00
Do away with services.(get|create), and move the prefs module to its own file.
This commit is contained in:
@@ -666,10 +666,10 @@ const JavaScript = Module("javascript", {
|
||||
"Use the JavaScript debugger service for JavaScript completion",
|
||||
"boolean", false, {
|
||||
setter: function (value) {
|
||||
if (services.get("debugger").isOn != value)
|
||||
services.get("debugger")[value ? "on" : "off"]();
|
||||
if (services.debugger.isOn != value)
|
||||
services.debugger[value ? "on" : "off"]();
|
||||
},
|
||||
getter: function () services.get("debugger").isOn
|
||||
getter: function () services.debugger.isOn
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user