From 295ab390240066b5a369ebfb491fcb15d5ab0671 Mon Sep 17 00:00:00 2001 From: Jeff Parsons Date: Mon, 10 Nov 2014 23:18:19 -0800 Subject: [PATCH] Updated HTMLOut exclusions --- my_modules/htmlout/lib/htmlout.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/my_modules/htmlout/lib/htmlout.js b/my_modules/htmlout/lib/htmlout.js index 4d01d9dba..b845d08ab 100644 --- a/my_modules/htmlout/lib/htmlout.js +++ b/my_modules/htmlout/lib/htmlout.js @@ -203,7 +203,8 @@ var asFilesNonListed = [ "robots.txt", "machine.xml", "manifest.xml", - "cache.manifest" + "cache.manifest", + "my_modules" ]; var asExtsNonListed = [ @@ -217,11 +218,11 @@ var asExtsNonServed = [ var asFilesNonServed = [ "bin", "debug", + "grunts", "lib", "logs", - "my_modules", - "node_modules", "node.log", + "node_modules", "tests", "tmp", "users", @@ -1055,6 +1056,7 @@ HTMLOut.prototype.getDirList = function(sToken, sIndent, aParms) var fDir = false; if (sURL == '/' || sBaseName == "..") { fDir = true; + if (sURL != '/') sURL += '/'; } else if (asNonDirectories.indexOf(sBaseName) < 0 && (iExt < 0 || sBaseName.match(/\.[0-9]+[Ma-c]?$/))) { fDir = true; sURL += '/';