polyfills.document.querySelector.raw.js Maven / Gradle / Ivy
The newest version!
// document.querySelector
(function () {
var
head = document.getElementsByTagName('head')[0];
function getElementsByQuery(node, selector, one) {
var
generator = document.createElement('div'),
id = 'qsa' + String(Math.random()).slice(3),
style, elements;
generator.innerHTML = 'x