1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 05:57:58 +01:00

add some missing semicolons and remove some trailing commas

This commit is contained in:
Doug Kearns
2008-07-27 15:08:06 +00:00
parent 7995fa8290
commit 23692e57aa
6 changed files with 9 additions and 9 deletions

View File

@@ -184,9 +184,9 @@ liberator.Buffer = function () //{{{
return [ return [
["0", "Don't show link destination"], ["0", "Don't show link destination"],
["1", "Show the link in the status line"], ["1", "Show the link in the status line"],
["2", "Show the link in the command line"], ["2", "Show the link in the command line"]
]; ];
}, }
}); });
liberator.options.add(["usermode", "um"], liberator.options.add(["usermode", "um"],
@@ -1304,12 +1304,12 @@ liberator.Buffer = function () //{{{
} }
var prog = args.shift(); var prog = args.shift();
args.push(url) args.push(url);
liberator.callFunctionInThread(newThread, liberator.io.run, [prog, args, true]); liberator.callFunctionInThread(newThread, liberator.io.run, [prog, args, true]);
} }
else else
{ {
liberator.open("view-source:" + url) liberator.open("view-source:" + url);
} }
} }
}; };

View File

@@ -775,7 +775,7 @@ liberator.Editor = function () //{{{
} }
var prog = args.shift(); var prog = args.shift();
args.push(tmpfile.path) args.push(tmpfile.path);
if (textBox) if (textBox)
{ {

View File

@@ -229,7 +229,7 @@ liberator.AutoCommands = function () //{{{
} }
}; };
//}}} //}}}
} //}}} }; //}}}
liberator.Events = function () //{{{ liberator.Events = function () //{{{
{ {

View File

@@ -594,7 +594,7 @@ liberator.Hints = function () //{{{
{ {
return ["contains", "wordstartswith", "firstletters", "custom"] return ["contains", "wordstartswith", "firstletters", "custom"]
.map(function (m){ return [m, ""] }); .map(function (m){ return [m, ""] });
}, }
}); });
liberator.options.add(["wordseparators", "wsp"], liberator.options.add(["wordseparators", "wsp"],

View File

@@ -865,7 +865,7 @@ liberator.Mail = function () //{{{
var accounts = currentAccountOnly ? [this.currentAccount] var accounts = currentAccountOnly ? [this.currentAccount]
: this.getFolders("", true, false); : this.getFolders("", true, false);
var unreadCount = 0, totalCount = 0, newCount = 0;; var unreadCount = 0, totalCount = 0, newCount = 0;
for (var i = 0; i < accounts.length; i++) for (var i = 0; i < accounts.length; i++)
{ {
var account = accounts[i]; var account = accounts[i];

View File

@@ -1309,7 +1309,7 @@ liberator.StatusLine = function () //{{{
["1", "Display status line only if there are multiple windows"], ["1", "Display status line only if there are multiple windows"],
["2", "Always display status line"], ["2", "Always display status line"],
]; ];
}, }
}); });
/////////////////////////////////////////////////////////////////////////////}}} /////////////////////////////////////////////////////////////////////////////}}}