mirror of
https://github.com/bigskysoftware/htmx.git
synced 2026-01-25 05:06:13 +00:00
fix test index
This commit is contained in:
@@ -16,7 +16,9 @@ fs.copySync("src/htmx.js", "www/js/htmx.js");
|
||||
|
||||
var testHTML = "<html><body style='font-family: sans-serif'><h1>HTMX TESTS</h1><ul>\n"
|
||||
fs.readdirSync(testRoot).reverse().forEach(function(file){
|
||||
testHTML += "<li><a href='/test/" + file + "/test'>" + file + "</a>\n"
|
||||
if (file !== "index.html") {
|
||||
testHTML += "<li><a href='/test/" + file + "/test'>" + file + "</a>\n";
|
||||
}
|
||||
});
|
||||
testHTML += "</ul></body>"
|
||||
fs.writeFileSync(testRoot + "/index.html", testHTML);
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<html><body style='font-family: sans-serif'><h1>HTMX TESTS</h1><ul>
|
||||
<li><a href='/test/index.html/test'>index.html</a>
|
||||
<li><a href='/test/0.0.4/test'>0.0.4</a>
|
||||
<li><a href='/test/0.0.3/test'>0.0.3</a>
|
||||
<li><a href='/test/0.0.2/test'>0.0.2</a>
|
||||
|
||||
Reference in New Issue
Block a user