mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 03:47:57 +01:00
add some missing semicolons and remove some trailing commas
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -229,7 +229,7 @@ liberator.AutoCommands = function () //{{{
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
//}}}
|
//}}}
|
||||||
} //}}}
|
}; //}}}
|
||||||
|
|
||||||
liberator.Events = function () //{{{
|
liberator.Events = function () //{{{
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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"],
|
||||||
|
|||||||
@@ -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];
|
||||||
|
|||||||
@@ -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"],
|
||||||
];
|
];
|
||||||
},
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////}}}
|
/////////////////////////////////////////////////////////////////////////////}}}
|
||||||
|
|||||||
Reference in New Issue
Block a user