index.js
function injectQuery(tokenValue, options, param) {
    options.url += ~options.url.indexOf('?') ? '&' : '?';
    options.url += param + '=' + tokenValue;
}
function injectQuery(tokenValue, options, param) {
    options.url += ~options.url.indexOf('?') ? '&' : '?';
    options.url += param + '=' + tokenValue;
}
Inject CSRF token via query param.

@param {string} tokenValue CSRF token value
@param {object} options jQuery prefilter options
@param {string} param Query param key