1
0
şunun yansıması https://github.com/coolaj86/ajquery.js.git eşitlendi 2024-11-16 17:29:02 +00:00

Use Array.from() in $$

Bu işleme şunda yer alıyor:
Simon Willison 2021-12-14 17:27:00 -08:00 işlemeyi yapan: GitHub
ebeveyn 100f70f047
işleme 6da364d813
Veri tabanında bu imza için bilinen anahtar bulunamadı
GPG Anahtar Kimliği: 4AEE18F83AFDEB23

Dosyayı Görüntüle

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