1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-04-07 11:33:32 +02:00

whitespace fix

This commit is contained in:
Doug Kearns
2008-12-19 19:12:55 +11:00
parent 194aaf46eb
commit 1ff25093c0

View File

@@ -242,8 +242,8 @@ function AutoCommands() //{{{
liberator.echomsg("Executing " + event + " Auto commands for \"*\"", 8); liberator.echomsg("Executing " + event + " Auto commands for \"*\"", 8);
let lastPattern = null; let lastPattern = null;
let url = args.url || ""; let url = args.url || "";
for (let [,autoCmd] in Iterator(autoCmds)) for (let [,autoCmd] in Iterator(autoCmds))
{ {
if (autoCmd.pattern.test(url)) if (autoCmd.pattern.test(url))
@@ -252,8 +252,8 @@ function AutoCommands() //{{{
liberator.echomsg("Executing " + event + " Auto commands for \"" + autoCmd.pattern.source + "\"", 8); liberator.echomsg("Executing " + event + " Auto commands for \"" + autoCmd.pattern.source + "\"", 8);
lastPattern = autoCmd.pattern; lastPattern = autoCmd.pattern;
liberator.echomsg("autocommand " + autoCmd.command, 9); liberator.echomsg("autocommand " + autoCmd.command, 9);
if (typeof autoCmd.command == "function") if (typeof autoCmd.command == "function")
{ {
try try
@@ -267,10 +267,12 @@ function AutoCommands() //{{{
} }
} }
else else
{
liberator.execute(commands.replaceTokens(autoCmd.command, args)); liberator.execute(commands.replaceTokens(autoCmd.command, args));
} }
} }
} }
}
}; };
//}}} //}}}
}; //}}} }; //}}}