Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
11
node_modules/dom-helpers/esm/querySelectorAll.js
generated
vendored
Normal file
11
node_modules/dom-helpers/esm/querySelectorAll.js
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
var toArray = Function.prototype.bind.call(Function.prototype.call, [].slice);
|
||||
/**
|
||||
* Runs `querySelectorAll` on a given element.
|
||||
*
|
||||
* @param element the element
|
||||
* @param selector the selector
|
||||
*/
|
||||
|
||||
export default function qsa(element, selector) {
|
||||
return toArray(element.querySelectorAll(selector));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue