Updated HTMLOut exclusions
This commit is contained in:
parent
6ae24b8dae
commit
295ab39024
1 changed files with 5 additions and 3 deletions
|
|
@ -203,7 +203,8 @@ var asFilesNonListed = [
|
||||||
"robots.txt",
|
"robots.txt",
|
||||||
"machine.xml",
|
"machine.xml",
|
||||||
"manifest.xml",
|
"manifest.xml",
|
||||||
"cache.manifest"
|
"cache.manifest",
|
||||||
|
"my_modules"
|
||||||
];
|
];
|
||||||
|
|
||||||
var asExtsNonListed = [
|
var asExtsNonListed = [
|
||||||
|
|
@ -217,11 +218,11 @@ var asExtsNonServed = [
|
||||||
var asFilesNonServed = [
|
var asFilesNonServed = [
|
||||||
"bin",
|
"bin",
|
||||||
"debug",
|
"debug",
|
||||||
|
"grunts",
|
||||||
"lib",
|
"lib",
|
||||||
"logs",
|
"logs",
|
||||||
"my_modules",
|
|
||||||
"node_modules",
|
|
||||||
"node.log",
|
"node.log",
|
||||||
|
"node_modules",
|
||||||
"tests",
|
"tests",
|
||||||
"tmp",
|
"tmp",
|
||||||
"users",
|
"users",
|
||||||
|
|
@ -1055,6 +1056,7 @@ HTMLOut.prototype.getDirList = function(sToken, sIndent, aParms)
|
||||||
var fDir = false;
|
var fDir = false;
|
||||||
if (sURL == '/' || sBaseName == "..") {
|
if (sURL == '/' || sBaseName == "..") {
|
||||||
fDir = true;
|
fDir = true;
|
||||||
|
if (sURL != '/') sURL += '/';
|
||||||
} else if (asNonDirectories.indexOf(sBaseName) < 0 && (iExt < 0 || sBaseName.match(/\.[0-9]+[Ma-c]?$/))) {
|
} else if (asNonDirectories.indexOf(sBaseName) < 0 && (iExt < 0 || sBaseName.match(/\.[0-9]+[Ma-c]?$/))) {
|
||||||
fDir = true;
|
fDir = true;
|
||||||
sURL += '/';
|
sURL += '/';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue