function loadStyle(url, integrity) {
        var link = document.createElement("link");
        link.rel = "stylesheet";
        link.href = url = getAbsoluteUrl(url, base);
        if (integrity) {
            link.integrity = integrity;
        }
        if (!url.startsWith(location.origin)) {
            link.crossOrigin = "anonymous";
        }
        var body = document.getElementsByTagName("body")[0];
        body.appendChild(link);
        return link;
    }
/**
     *
     * @param url       css url to beloaded; can be absolute or relative(modified with baseUrl)
     * @param integrity
     */
@param url       css url to beloaded; can be absolute or relative(modified with baseUrl)
@param integrity
@param url css url to beloaded ; can be absolute or relative ( modified with baseUrl ) @param integrity
function loadStyle(url, integrity) {
        var link = document.createElement("link");
        link.rel = "stylesheet";
        link.href = url = getAbsoluteUrl(url, base);
        if (integrity) {
            link.integrity = integrity;
        }
        if (!url.startsWith(location.origin)) {
            link.crossOrigin = "anonymous";
        }
        var body = document.getElementsByTagName("body")[0];
        body.appendChild(link);
        return link;
    }
function loadStyle ( url , integrity ) { var link = document . createElement ( "link" ) ; link . rel = "stylesheet" ; link . href = url = getAbsoluteUrl ( url , base ) ; if ( integrity ) { link . integrity = integrity ; } if ( ! url . startsWith ( location . origin ) ) { link . crossOrigin = "anonymous" ; } var body = document . getElementsByTagName ( "body" ) [ 0 ] ; body . appendChild ( link ) ; return link ; }
@param url       css url to beloaded; can be absolute or relative(modified with baseUrl)
 @param integrity
@param url css url to beloaded ; can be absolute or relative ( modified with baseUrl ) @param integrity