1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-19 11:35:48 +01:00

Replace dactyl.has(OS) with util.isOS.

This commit is contained in:
Doug Kearns
2010-10-17 23:22:53 +11:00
parent e8caf78170
commit d170fda0e3
7 changed files with 26 additions and 20 deletions

View File

@@ -1112,12 +1112,6 @@ const Dactyl = Module("dactyl", {
dactyl.help(tag);
}
}, {
config: function () {
// TODO: is the OS really a config feature? I think not. --djk
let os = services.get("runtime").OS;
config.features.push(os == "WINNT" || os == "Darwin" ? os : "Unix");
},
// Only general options are added here, which are valid for all Dactyl extensions
options: function () {
options.add(["errorbells", "eb"],