mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 06:34:13 +01:00
Promisify some callbackish functions, and remove spaces around = in default arguments, per Python conventions.
This commit is contained in:
@@ -467,7 +467,7 @@ var Template = Module("Template", {
|
||||
["td", { style: style[i] || "" }, d])])];
|
||||
},
|
||||
|
||||
usage: function usage(iter, 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