mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 01:57:58 +01:00
Merge changes from bootstrapped.
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
* @optional
|
||||
* @private
|
||||
*/
|
||||
const Map = Class("Map", {
|
||||
var Map = Class("Map", {
|
||||
init: function (modes, keys, description, action, extraInfo) {
|
||||
modes = Array.concat(modes).map(function (m) isObject(m) ? m.mask : m);
|
||||
if (!modes.every(util.identity))
|
||||
@@ -127,7 +127,7 @@ const Map = Class("Map", {
|
||||
/**
|
||||
* @instance mappings
|
||||
*/
|
||||
const Mappings = Module("mappings", {
|
||||
var Mappings = Module("mappings", {
|
||||
init: function () {
|
||||
this._main = []; // default mappings
|
||||
this._user = []; // user created mappings
|
||||
|
||||
Reference in New Issue
Block a user