1
0
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:
Doug Kearns
2011-03-08 02:29:23 +11:00
parent 1c4c5e5ad3
commit 2909881bb1

View File

@@ -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) {