1
0
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:
Kris Maglione
2010-12-25 16:00:56 -05:00
parent ce13a4629e
commit dca9f2df86
27 changed files with 82 additions and 67 deletions

View File

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