chore: add code
This commit is contained in:
parent
f6a52d0a5f
commit
e2d6c6b928
|
@ -0,0 +1,7 @@
|
|||
function $(sel, el) {
|
||||
return (el || document).querySelector(sel);
|
||||
}
|
||||
|
||||
function $$(sel, el) {
|
||||
return (el || document).querySelectorAll(sel);
|
||||
}
|
Loading…
Reference in New Issue