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

add some missing semicolons and remove some trailing commas

This commit is contained in:
Doug Kearns
2008-09-28 11:38:51 +00:00
parent fa1765465e
commit 6f6922f035
5 changed files with 14 additions and 18 deletions

View File

@@ -1025,8 +1025,7 @@ liberator.Buffer = function () //{{{
var start = document.commandDispatcher.focusedWindow;
frames = frames.filter(function (frame) {
frame.focus();
if (document.commandDispatcher.focusedWindow == frame)
return frame;
return document.commandDispatcher.focusedWindow == frame;
});
start.focus();
@@ -1743,10 +1742,7 @@ liberator.Marks = function () //{{{
if (filter.length > 0)
{
marks = marks.filter(function (mark) {
if (filter.indexOf(mark[0]) > -1)
return mark;
});
marks = marks.filter(function (mark) filter.indexOf(mark[0]) >= 0);
if (marks.length == 0)
{
liberator.echoerr("E283: No marks matching \"" + filter + "\"");