mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 21:47:59 +01:00
Formatting fixes.
This commit is contained in:
@@ -394,7 +394,7 @@ const Option = Class("Option", {
|
||||
if (!res)
|
||||
res = context.allItems.items.map(function (item) [item.text]);
|
||||
return Array.concat(values).every(function (value) res.some(function (item) item[0] == value));
|
||||
},
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
@@ -428,7 +428,6 @@ const Options = Module("options", {
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function optionObserver(key, event, option) {
|
||||
// Trigger any setters.
|
||||
let opt = options.get(option);
|
||||
@@ -890,7 +889,7 @@ const Options = Module("options", {
|
||||
catch (e) {
|
||||
return defaultValue;
|
||||
}
|
||||
},
|
||||
}
|
||||
}, {
|
||||
SAVED: "extensions.liberator.saved.",
|
||||
OLD_SAVED: "liberator.saved.",
|
||||
@@ -1274,7 +1273,7 @@ const Options = Module("options", {
|
||||
context.keys = { text: function (item) item, description: function (item) options.getPref(item) };
|
||||
context.completions = options.allPrefs();
|
||||
};
|
||||
},
|
||||
}
|
||||
});
|
||||
|
||||
// vim: set fdm=marker sw=4 ts=4 et:
|
||||
|
||||
Reference in New Issue
Block a user