mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 20:24:12 +01:00
Rename parameter as per style guide.
This commit is contained in:
@@ -731,12 +731,11 @@ var Mappings = Module("mappings", {
|
||||
});
|
||||
},
|
||||
completion: function initCompletion(dactyl, modules, window) {
|
||||
completion.userMapping = function userMapping(context, modes, hive) {
|
||||
// FIXME: have we decided on a 'standard' way to handle this clash? --djk
|
||||
completion.userMapping = function userMapping(context, modes_, hive) {
|
||||
hive = hive || mappings.user;
|
||||
modes = modes || [modules.modes.NORMAL];
|
||||
modes_ = modes_ || [modes.NORMAL];
|
||||
context.keys = { text: function (m) m.names[0], description: function (m) m.description + ": " + m.action };
|
||||
context.completions = hive.iterate(modes);
|
||||
context.completions = hive.iterate(modes_);
|
||||
};
|
||||
},
|
||||
javascript: function initJavascript(dactyl, modules, window) {
|
||||
|
||||
Reference in New Issue
Block a user