Process stand alone hyperscript

This needs to be reworked so that hyperscript relies on htmx events, so htmx doesn't need to know about hyperscript
This commit is contained in:
carson 2020-09-01 19:08:47 -06:00
parent 807723311f
commit 5bd584a75a

View File

@ -963,7 +963,8 @@ return (function () {
function findElementsToProcess(elt) {
if (elt.querySelectorAll) {
var results = elt.querySelectorAll(VERB_SELECTOR + ", a, form, [hx-sse], [data-hx-sse], [hx-ws], [data-hx-ws]");
var results = elt.querySelectorAll(VERB_SELECTOR + ", a, form, [hx-sse], [data-hx-sse], [hx-ws]," +
" [data-hx-ws], [_], [script], [data-script]");
return results;
} else {
return [];