mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-08 07:44:12 +01:00
Make further use of default parameters.
--HG-- extra : rebase_source : ab666bce7ed7e47c8f1e2bc4145f553da990d319
This commit is contained in:
@@ -467,9 +467,7 @@ var Template = Module("Template", {
|
||||
["td", { style: style[i] || "" }, d])])];
|
||||
},
|
||||
|
||||
usage: function usage(iter, format) {
|
||||
|
||||
format = format || {};
|
||||
usage: function usage(iter, format = {}) {
|
||||
let desc = format.description || (item => this.linkifyHelp(item.description));
|
||||
let help = format.help || (item => item.name);
|
||||
let sourceLink = (frame) => {
|
||||
|
||||
Reference in New Issue
Block a user