This commit is contained in:
carson 2021-01-03 15:42:06 -07:00
parent b0f00c4677
commit 0d76f98167
3 changed files with 3 additions and 2 deletions

View File

@ -20,6 +20,7 @@
allow an element to respond to events on other elements.
* Added the `htmx:beforeProcessNode` event, renamed the (previously undocumented) `htmx:processedNode` to `htmx:afterProcessNode`
* Added `closest` syntax support for the [`hx-indicator`](https://dev.htmx.org/attributes/hx-indicator) attribute
* Added `on load` support for the newest version of [hyperscript](https://hyperscript.org)
* Bug fixes & improvements
## [1.0.2] - 2020-12-12

View File

@ -34,7 +34,7 @@ describe("Core htmx perf Tests", function() {
// create an entry with a large content string (256k) and see how fast we can write and read it
// to local storage as a single entry
var str = stringRepeat("<div>", 30) + stringRepeat("<div><div><span><button hx-get='/test'> Test Get Button </button></span></div></div>\n", 1000) + stringRepeat("</div>", 30);
var str = stringRepeat("<div>", 30) + stringRepeat("<div><div><span><button hx-get='/test'> Test Get Button </button></span></div></div>\n", 500) + stringRepeat("</div>", 30);
var start = performance.now();
var stuff = make(str);
var end = performance.now();

View File

@ -34,7 +34,7 @@ describe("Core htmx perf Tests", function() {
// create an entry with a large content string (256k) and see how fast we can write and read it
// to local storage as a single entry
var str = stringRepeat("<div>", 30) + stringRepeat("<div><div><span><button hx-get='/test'> Test Get Button </button></span></div></div>\n", 1000) + stringRepeat("</div>", 30);
var str = stringRepeat("<div>", 30) + stringRepeat("<div><div><span><button hx-get='/test'> Test Get Button </button></span></div></div>\n", 500) + stringRepeat("</div>", 30);
var start = performance.now();
var stuff = make(str);
var end = performance.now();