dist/okanjo-metrics.js
// Backwards compatibility when we shipped with qwery, cuz querySelector[All] wasn't mainstream enough
Backwards compatibility when we shipped with qwery, cuz querySelector[All] wasn't mainstream enough
Backwards compatibility when we shipped with qwery cuz querySelector [ All ] wasn ' t mainstream enough
function qwery(selector, parent) {
            if (typeof parent === "string") {
                parent = document.querySelector(parent);
                if (!parent) return [];
            }
            if (!parent) parent = document;
            return parent.querySelectorAll(selector);
        }
function qwery ( selector , parent ) { if ( typeof parent === "string" ) { parent = document . querySelector ( parent ) ; if ( ! parent ) return [ ] ; } if ( ! parent ) parent = document ; return parent . querySelectorAll ( selector ) ; }
Backwards compatibility when we shipped with qwery, cuz querySelector[All] wasn't mainstream enough
Backwards compatibility when we shipped with qwery cuz querySelector [ All ] wasn ' t mainstream enough
// If parent is a selector, select the parent first! // If parent is not found, there are obviously no results