Added an Modula-2 demo page and a new blog post on the 1984 FantasyLand EGA demo and an EGATEST program written in Modula-2

This commit is contained in:
Jeff Parsons 2017-07-03 22:37:40 -07:00 committed by Jeff Parsons
commit 7768f27e40
18 changed files with 564 additions and 28 deletions

View file

@ -1095,7 +1095,12 @@ HTMLOut.prototype.getDirList = function(sToken, sIndent, aParms)
var match = re.exec(asFiles[i]);
if (match) asFiles[i] = "///".substr(0, 4 - match[1].length) + asFiles[i];
}
asFiles.sort();
if (path.basename(obj.sPath) != "blog") {
asFiles.sort();
} else {
asFiles.sort(function(a, b) {return a < b? 1 : -1;});
}
for (var iFile = 0; iFile < asFiles.length; iFile++) {
var sBaseName = asFiles[iFile].replace(/\//g, "");