"use strict";

var URLS = (function() {
    var BASE = 'https://raw.githubusercontent.com/robertpainsi/robertpainsi.github.data/master/';

    return {
        BASE: BASE,
        PROGRAM_STATISTICS: BASE + 'catrobat/statistics/statistics.json'
    };
}());

"use strict";

var URLS = (function() {
    var BASE = 'https://raw.githubusercontent.com/robertpainsi/robertpainsi.github.data/master/';
    if (location.hostname === 'robertpainsi.localhost.io') {
        BASE = 'http://localhost/robertpainsi.github.data/';
    }

    return {
        BASE: BASE,
        PROGRAM_STATISTICS: BASE + 'catrobat/statistics/statistics.json'
    };
}());

Add local base url (only used for hostname robertpainsi.localhost.io)
Add local base url (only used for hostname robertpainsi.localhost.io)
