1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-02 18:45:45 +01:00

Add some more error handling code during the bootstrapping process.

This commit is contained in:
Kris Maglione
2010-12-30 20:20:57 -05:00
parent 5f47d83f76
commit 85947d4645
5 changed files with 46 additions and 23 deletions

View File

@@ -523,7 +523,7 @@ var Mappings = Module("mappings", {
for (let mode in values(modes.all))
if (name == mode || name == mode.char
|| String.toLowerCase(name).replace(/-/g, "_") == mode.name.toLowerCase())
return mode.mask;
return mode;
return null;
}
function uniqueModes(modes) {