mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-30 06:21:19 +00:00

The website used to host every past test suite, copied into the www directory. We no longer need that on the website (and it makes the codebase impossible to search) so I removed all the old tests and the new tests are hosted simply at /test. I also replaced the www.js script with a simpler www.sh one (since we no longer need to do anything besides copying, really), which allowed me to remove a node dependency that was only used in that script.
14 lines
454 B
HTML
14 lines
454 B
HTML
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>Test if indicators are invisible by default</title>
|
|
<script src="../../src/htmx.js"></script>
|
|
<meta http-equiv="Content-Security-Policy" content="default-src *; script-src 'unsafe-inline'">
|
|
</head>
|
|
<body style="padding:20px;font-family: sans-serif">
|
|
<script src="../../src/htmx.js"></script>
|
|
<h1>CSP Test</h1>
|
|
<button onclick="htmx._('foo');">Click To Eval</button>
|
|
</body>
|
|
</html>
|