1
0
espelhamento de https://github.com/coolaj86/ajquery.js.git sincronizado 2024-11-16 17:29:02 +00:00

Use Array.from() in $$

Esse commit está contido em:
Simon Willison 2021-12-14 17:27:00 -08:00 commit de AJ ONeal
commit c50bcca6ca

Ver arquivo

@ -3,5 +3,5 @@ function $(sel, el) {
} }
function $$(sel, el) { function $$(sel, el) {
return (el || document).querySelectorAll(sel); return Array.from((el || document).querySelectorAll(sel));
} }