From 25b5aa337f957cf61033c72871299f7ef6eac191 Mon Sep 17 00:00:00 2001 From: carson Date: Mon, 5 Apr 2021 07:45:51 -0600 Subject: [PATCH] release prep --- README.md | 2 +- dist/htmx.min.js.gz | Bin 10410 -> 10410 bytes package.json | 2 +- www/docs.md | 2 +- www/index.md | 2 +- www/test/1.3.3/src/htmx.js | 6 ++++- www/test/1.3.3/test/core/security.js | 32 +++++++++++++++++++++++++++ www/test/1.3.3/test/index.html | 1 + 8 files changed, 42 insertions(+), 5 deletions(-) create mode 100644 www/test/1.3.3/test/core/security.js diff --git a/README.md b/README.md index 1bca9d4e..724dcb9d 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ By removing these arbitrary constraints htmx completes HTML as a ```html - + ') + btn.click(); + this.server.respond(); + btn.innerHTML.should.equal("Initial"); + }) + + it("can disable a parent elt", function(){ + this.server.respondWith("GET", "/test", "Clicked!"); + + var div = make('
') + var btn = byId("b1"); + btn.click(); + this.server.respond(); + btn.innerHTML.should.equal("Initial"); + }) + + +}); \ No newline at end of file diff --git a/www/test/1.3.3/test/index.html b/www/test/1.3.3/test/index.html index 0a71f109..1c87f939 100644 --- a/www/test/1.3.3/test/index.html +++ b/www/test/1.3.3/test/index.html @@ -85,6 +85,7 @@ +