jirafeau / Jirafeau · GitLab
www.jirafeau.net
IE=edge" http-equiv="X-UA-Compatible">
jirafeau / Jirafeau · GitLab
//
// {
if (e.matches) {
root.classList.add('gl-dark');
} else {
root.classList.remove('gl-dark');
}
});
//]]>
// {
gl.startup_calls[apiCall] = {
fetchCall: fetch(apiCall, {
// Emulate XHR for Rails AJAX request checks
headers: {
'X-Requested-With': 'XMLHttpRequest'
},
// fetch won’t send cookies in older browsers, unless you set the credentials init option.
// We set to `same-origin` which is default value in modern browsers.
// See https://github.com/whatwg/fetch/pull/585 for more information.
credentials: 'same-origin'
})
};
});
}
if (gl.startup_graphql_calls && window.fetch) {
const headers = {"X-CSRF-Token":"dKD2fs859_SqUEcwjxDvfEpH_9Bahxr0urToimEO11v8V30cbcJjBfNR5OWEgJM8-E9on6nBYErEHZn6y4ZjJg","x-gitlab-feature-category":"groups_and_projects"};
const url = `https://gitlab.com/api/graphql`
cons