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

Make :pageinfo extensible

This commit is contained in:
Kris Maglione
2008-10-02 19:22:02 +00:00
parent 9dd5f1612b
commit 8100d941f8
7 changed files with 240 additions and 226 deletions

View File

@@ -234,7 +234,7 @@ liberator.Completion = function () //{{{
try
{
files = liberator.io.readDirectory(dir);
files = liberator.io.readDirectory(dir, true);
if (liberator.options["wildignore"])
{
@@ -244,8 +244,7 @@ liberator.Completion = function () //{{{
}
mapped = files.map(function (file) [tail ? file.leafName : (dir + file.leafName),
file.isDirectory() ? "Directory" : "File"])
.sort(function (a, b) a[1].localeCompare(b[1]) || a[0].localeCompare(b[0]));
file.isDirectory() ? "Directory" : "File"]);
}
catch (e)
{