mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-27 13:01:03 +00:00
Add version number to test page (#1813)
Now that we only have a single test page, it's helpful to show which version of htmx the tests are running against.
This commit is contained in:
parent
9c012f0848
commit
03b1ebea97
@ -14,6 +14,7 @@
|
||||
<body style="padding:20px;font-family: sans-serif">
|
||||
|
||||
<h1 style="margin-top: 40px">htmx.js test suite</h1>
|
||||
<p id="version-number">Version: </p>
|
||||
|
||||
<h2>Scratch Page</h2>
|
||||
<ul>
|
||||
@ -40,6 +41,9 @@
|
||||
if (navigator.webdriver) {
|
||||
htmx.logAll = function () { }
|
||||
}
|
||||
|
||||
// Add the version number to the top
|
||||
document.getElementById('version-number').innerText += htmx.version
|
||||
</script>
|
||||
|
||||
<script class="mocha-init">
|
||||
|
@ -14,6 +14,7 @@
|
||||
<body style="padding:20px;font-family: sans-serif">
|
||||
|
||||
<h1 style="margin-top: 40px">htmx.js test suite</h1>
|
||||
<p id="version-number">Version: </p>
|
||||
|
||||
<h2>Scratch Page</h2>
|
||||
<ul>
|
||||
@ -40,6 +41,9 @@
|
||||
if (navigator.webdriver) {
|
||||
htmx.logAll = function () { }
|
||||
}
|
||||
|
||||
// Add the version number to the top
|
||||
document.getElementById('version-number').innerText += htmx.version
|
||||
</script>
|
||||
|
||||
<script class="mocha-init">
|
||||
|
Loading…
x
Reference in New Issue
Block a user