1 | ;
|
2 |
|
3 | exports.__esModule = true;
|
4 | exports.default = qsa;
|
5 | var toArray = Function.prototype.bind.call(Function.prototype.call, [].slice);
|
6 | /**
|
7 | * Runs `querySelectorAll` on a given element.
|
8 | *
|
9 | * @param element the element
|
10 | * @param selector the selector
|
11 | */
|
12 |
|
13 | function qsa(element, selector) {
|
14 | return toArray(element.querySelectorAll(selector));
|
15 | }
|
16 |
|
17 | module.exports = exports["default"]; |
\ | No newline at end of file |