diff --git a/CHANGELOG.md b/CHANGELOG.md index 1caf2289..fabc2371 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ # Changelog +## [1.6.1] - 2021-11-?? + ## [1.6.0] - 2021-10-01 * Completely reworked ` + ') + var btn2 = make('') + btn1.click(); + btn2.click(); + this.server.respond(); + this.server.respond(); + errors.should.equal(1); + htmx.off("htmx:responseError", handler); }); @@ -908,11 +930,10 @@ describe("Core htmx AJAX Tests", function(){ xhr.respond(400, {}, "Clicked!"); }); var btn = make('') - var div = make('
') btn.click(); this.server.respond(); - div.innerText.should.equal("Clicked!!!"); - htmx.off("htmx:shouldSwap", handler); + btn.innerText.should.equal("Clicked!!!"); + htmx.off("htmx:beforeSwap", handler); }); it('scripts w/ src attribute are properly loaded', function(done) diff --git a/www/docs.md b/www/docs.md index 99181b72..3ae3cff2 100644 --- a/www/docs.md +++ b/www/docs.md @@ -103,13 +103,13 @@ It can be used via [NPM](https://www.npmjs.com/) as "`htmx.org`" or downloaded o [unpkg](https://unpkg.com/browse/htmx.org/) or your other favorite NPM-based CDN: ``` html - + ``` For added security, you can load the script using [Subresource Integrity (SRI)](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity). ``` html - + ``` ## [AJAX](#ajax) diff --git a/www/extensions/client-side-templates.md b/www/extensions/client-side-templates.md index 28f01572..b436b284 100644 --- a/www/extensions/client-side-templates.md +++ b/www/extensions/client-side-templates.md @@ -61,8 +61,8 @@ If you wish to put a template into another file, you can use a directive such as JS Bin - - + + diff --git a/www/index.md b/www/index.md index b5efdc41..2617c25e 100644 --- a/www/index.md +++ b/www/index.md @@ -35,7 +35,7 @@ By removing these arbitrary constraints htmx completes HTML as a ```html - +