summaryrefslogtreecommitdiffstatshomepage
path: root/test/manual
diff options
context:
space:
mode:
Diffstat (limited to 'test/manual')
-rw-r--r--test/manual/browser-only-tests.html10
-rw-r--r--test/manual/confirm-and-prompt.html8
-rw-r--r--test/manual/no-indicator-css.html6
-rw-r--r--test/manual/yes-indicator-css.html4
4 files changed, 14 insertions, 14 deletions
diff --git a/test/manual/browser-only-tests.html b/test/manual/browser-only-tests.html
index 7ef37eb5..f9c7c093 100644
--- a/test/manual/browser-only-tests.html
+++ b/test/manual/browser-only-tests.html
@@ -10,7 +10,7 @@
<script src="../../node_modules/chai/chai.js"></script>
<script src="../../node_modules/mocha/mocha.js"></script>
<script src="../../node_modules/sinon/pkg/sinon.js"></script>
-<script src="../../src/kutty.js"></script>
+<script src="../../src/htmx.js"></script>
<script class="mocha-init">
mocha.setup('bdd');
mocha.checkLeaks();
@@ -34,7 +34,7 @@
this.server.respondWith("GET", "/test", "second");
getWorkArea().innerHTML.should.be.equal("");
- var div = make('<div kt-push-url="true" kt-get="/test">first</div>');
+ var div = make('<div hx-push-url="true" hx-get="/test">first</div>');
div.click();
this.server.respond();
getWorkArea().textContent.should.equal("second")
@@ -53,7 +53,7 @@
});
getWorkArea().innerHTML.should.equal("");
- var div = make('<div kt-push-url="true" kt-get="/test" class="">0</div>');
+ var div = make('<div hx-push-url="true" hx-get="/test" class="">0</div>');
div.click();
this.server.respond();
getWorkArea().textContent.should.equal("1")
@@ -77,7 +77,7 @@
this.server.respondWith("GET", "/test", "second");
getWorkArea().innerHTML.should.equal("");
- var div = make('<div kt-push-url="true" kt-get="/test" class="">first</div>');
+ var div = make('<div hx-push-url="true" hx-get="/test" class="">first</div>');
div.click();
this.server.respond();
getWorkArea().textContent.should.equal("second")
@@ -104,7 +104,7 @@
</script>
<em>Work Area</em>
<hr/>
-<div id="work-area" kt-history-elt>
+<div id="work-area" hx-history-elt>
</div>
</body>
</html>
diff --git a/test/manual/confirm-and-prompt.html b/test/manual/confirm-and-prompt.html
index 4590544e..07934384 100644
--- a/test/manual/confirm-and-prompt.html
+++ b/test/manual/confirm-and-prompt.html
@@ -2,11 +2,11 @@
<head>
<meta charset="utf-8" />
<title>Test if indicators are invisible by default</title>
- <script src="../../src/kutty.js"></script>
+ <script src="../../src/htmx.js"></script>
</head>
<body style="padding:20px;font-family: sans-serif">
<script src="../../node_modules/sinon/pkg/sinon.js"></script>
-<script src="../../src/kutty.js"></script>
+<script src="../../src/htmx.js"></script>
<script src="../util/util.js"></script>
<script>
server = makeServer();
@@ -19,10 +19,10 @@
})
</script>
<h1>Prompt & Confirm Tests</h1>
-<button kt-get="/prompt" kt-prompt="Enter some text and it should be echoed in this button">Click For Prompt</button>
+<button hx-get="/prompt" hx-prompt="Enter some text and it should be echoed in this button">Click For Prompt</button>
<br/>
<br/>
<br/>
-<button kt-get="/confirm" kt-confirm="Confirm The Action">Click For Confirm</button>
+<button hx-get="/confirm" hx-confirm="Confirm The Action">Click For Confirm</button>
</body>
</html>
diff --git a/test/manual/no-indicator-css.html b/test/manual/no-indicator-css.html
index d24753a0..0ce4e9fc 100644
--- a/test/manual/no-indicator-css.html
+++ b/test/manual/no-indicator-css.html
@@ -1,9 +1,9 @@
<html lang="en">
<head>
<meta charset="utf-8" />
- <meta name="kutty-config" content='{"includeIndicatorStyles":false}'>
+ <meta name="htmx-config" content='{"includeIndicatorStyles":false}'>
<title>Test if the includeIndicatorStyles meta option works</title>
- <script src="../../src/kutty.js"></script>
+ <script src="../../src/htmx.js"></script>
</head>
<body style="padding:20px;font-family: sans-serif">
<h1>You should see bars here:</h1>
@@ -11,6 +11,6 @@
We are overriding the normal CSS inclusion with the meta directive <code>{"includeIndicatorStyles":false}</code>
so you should see the indicator because it is not being hidden by the default classes.
</p>
- <img class="kutty-indicator" src="../img/bars.svg" width="200">
+ <img class="htmx-indicator" src="../img/bars.svg" width="200">
</body>
</html>
diff --git a/test/manual/yes-indicator-css.html b/test/manual/yes-indicator-css.html
index 46fdea72..fc2e02a1 100644
--- a/test/manual/yes-indicator-css.html
+++ b/test/manual/yes-indicator-css.html
@@ -2,10 +2,10 @@
<head>
<meta charset="utf-8" />
<title>Test if indicators are invisible by default</title>
- <script src="../../src/kutty.js"></script>
+ <script src="../../src/htmx.js"></script>
</head>
<body style="padding:20px;font-family: sans-serif">
<h1>You should not see bars here:</h1>
- <img class="kutty-indicator" src="../img/bars.svg" width="200">
+ <img class="htmx-indicator" src="../img/bars.svg" width="200">
</body>
</html>