mirror of
https://github.com/coolaj86/ajquery.js.git
synced 2024-11-16 17:29:02 +00:00
chore: add code
This commit is contained in:
parent
f6a52d0a5f
commit
e2d6c6b928
7
ajquery.js
Normal file
7
ajquery.js
Normal file
@ -0,0 +1,7 @@
|
||||
function $(sel, el) {
|
||||
return (el || document).querySelector(sel);
|
||||
}
|
||||
|
||||
function $$(sel, el) {
|
||||
return (el || document).querySelectorAll(sel);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user