Mirror von
https://github.com/coolaj86/ajquery.js.git
synchronisiert 2024-11-16 17:29:02 +00:00
Use Array.from() in $$
Dieser Commit ist enthalten in:
Ursprung
100f70f047
Commit
6da364d813
@ -3,5 +3,5 @@ function $(sel, el) {
|
||||
}
|
||||
|
||||
function $$(sel, el) {
|
||||
return (el || document).querySelectorAll(sel);
|
||||
return Array.from((el || document).querySelectorAll(sel));
|
||||
}
|
||||
|
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren