mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-25 09:35:48 +01:00
remove some unnecessary guard clauses
This commit is contained in:
@@ -66,14 +66,10 @@ function Mappings()//{{{
|
||||
|
||||
function addDefaultMap(map)
|
||||
{
|
||||
if (!map)
|
||||
return false;
|
||||
|
||||
if (!main[map.mode])
|
||||
main[map.mode] = [];
|
||||
|
||||
main[map.mode].push(map);
|
||||
return true;
|
||||
}
|
||||
|
||||
function getFrom(mode, cmd, stack)
|
||||
|
||||
Reference in New Issue
Block a user