basicHTML
basicHTML copied to clipboard
Refactor `querySelectorAll` per `document`
Currently, the init with a selector method causes a global side effect on every selector, playing not particularly nice when Document class is extracted, and initialized, a part.
Consider providing a Document.prototype.useSelector(...) method to simplify, and confine, different selectors engine, per document.