mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 04:22:26 +01:00
rename wimRegexp since it represents the 'wildignore' pattern
This commit is contained in:
@@ -240,10 +240,10 @@ liberator.Completion = function () //{{{
|
|||||||
|
|
||||||
if (liberator.options["wildignore"])
|
if (liberator.options["wildignore"])
|
||||||
{
|
{
|
||||||
var wimRegexp = new RegExp("(^" + liberator.options["wildignore"].replace(",", "|", "g") + ")$");
|
var wigRegexp = new RegExp("(^" + liberator.options["wildignore"].replace(",", "|", "g") + ")$");
|
||||||
|
|
||||||
files = files.filter(function (f) {
|
files = files.filter(function (f) {
|
||||||
return f.isDirectory() || !wimRegexp.test(f.leafName);
|
return f.isDirectory() || !wigRegexp.test(f.leafName);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user