- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
11 lines
305 B
JavaScript
11 lines
305 B
JavaScript
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));
|
|
} |