Artifact Content
Artifact cd8e1862b7eba0f20fc39edb18fe290e85fd6eec2d296dd6c4971c67a1412412:
- File public/riot-3.13.2/lib/browser/common/util/dom/$$.js — part of check-in [12a9bb700d] at 2021-08-11 18:56:04 on branch trunk — Import from git Added a changelog (user: dev size: 354)
/** * Shorter and fast way to select multiple nodes in the DOM * @param { String } selector - DOM selector * @param { Object } ctx - DOM node where the targets of our search will is located * @returns { Object } dom nodes found */ export default function $$(selector, ctx) { return [].slice.call((ctx || document).querySelectorAll(selector)) }