function apiAjax(relativeUrl, opts = {}) {
    opts = _.merge({
        raw: true,
        verbose: VERBOSE,
        logPrefix: '  -> '
    }, opts);

    return ajax(apiUrl + relativeUrl, opts);
}
// Convenience ajax function to call the local API
Convenience ajax function to call the local API
Convenience ajax function to call the local API
function apiAjax(relativeUrl, opts = {}) {
    opts = _.merge({
        raw: true,
        verbose: VERBOSE,
        logPrefix: '  -> '
    }, opts);
    return ajax(apiUrl + relativeUrl, opts);
}
function apiAjax ( relativeUrl , opts = { } ) { opts = _ . merge ( { raw : true , verbose : VERBOSE , logPrefix : '  -> ' } , opts ) ; return ajax ( apiUrl + relativeUrl , opts ) ; }
Convenience ajax function to call the local API
Convenience ajax function to call the local API