mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-24 18:23:33 +01:00
Move util.identity to the base module.
Most other functions of its ilk live there.
This commit is contained in:
@@ -331,7 +331,7 @@ var History = Module("history", {
|
||||
completion.domain = context => {
|
||||
context.anchored = false;
|
||||
context.compare = (a, b) => String.localeCompare(a.key, b.key);
|
||||
context.keys = { text: util.identity, description: util.identity,
|
||||
context.keys = { text: identity, description: identity,
|
||||
key: function (host) host.split(".").reverse().join(".") };
|
||||
|
||||
// FIXME: Schema-specific
|
||||
|
||||
Reference in New Issue
Block a user