mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 06:57:59 +01:00
Move Map's property definitions outside init.
--HG-- extra : rebase_source : 6ab30f7e512283852024f2de6abc69f203f5e8d3
This commit is contained in:
@@ -45,7 +45,7 @@ const Command = Class("Command", {
|
||||
extraInfo = {};
|
||||
|
||||
this.specs = specs;
|
||||
this.shortNames = expandedSpecs.map(function (n) n[1]);
|
||||
this.shortNames = array(expandedSpecs).map(function (n) n[1]).compact();
|
||||
this.longNames = expandedSpecs.map(function (n) n[0]);
|
||||
this.name = this.longNames[0];
|
||||
this.names = array(expandedSpecs).flatten();
|
||||
|
||||
Reference in New Issue
Block a user