1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 08:27:58 +01:00

remove some unnecessary guard clauses

This commit is contained in:
Doug Kearns
2007-06-13 07:17:38 +00:00
parent 0cbd371c56
commit ac7cbe222e
2 changed files with 0 additions and 9 deletions

View File

@@ -187,12 +187,7 @@ function Commands()//{{{
function addDefaultCommand(command)
{
if (!command)
return false;
ex_commands.push(command);
return true;
}
function commandsIterator()

View File

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